tests: Format with clang-tidy (see #3632)

This commit is contained in:
Marshall Greenblatt
2024-01-19 21:22:56 -05:00
parent 9fd312ce04
commit 0a64bb6f9b
108 changed files with 505 additions and 647 deletions

View File

@@ -22,7 +22,7 @@ static const int kMsgHaveWork = WM_USER + 1;
class MainMessageLoopExternalPumpWin : public MainMessageLoopExternalPump {
public:
MainMessageLoopExternalPumpWin();
~MainMessageLoopExternalPumpWin();
~MainMessageLoopExternalPumpWin() override;
// MainMessageLoopStd methods:
void Quit() override;
@@ -44,14 +44,13 @@ class MainMessageLoopExternalPumpWin : public MainMessageLoopExternalPump {
LPARAM lparam);
// True if a timer event is currently pending.
bool timer_pending_;
bool timer_pending_ = false;
// HWND owned by the thread that CefDoMessageLoopWork should be invoked on.
HWND main_thread_target_;
HWND main_thread_target_ = nullptr;
};
MainMessageLoopExternalPumpWin::MainMessageLoopExternalPumpWin()
: timer_pending_(false), main_thread_target_(nullptr) {
MainMessageLoopExternalPumpWin::MainMessageLoopExternalPumpWin() {
HINSTANCE hInstance = GetModuleHandle(nullptr);
const wchar_t* const kClassName = L"CEFMainTargetHWND";