Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(14)

Unified Diff: components/mus/common/gpu_service.cc

Issue 2039943005: clang-tidy WaitableEvent refactor (Windows side) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/mus/common/gpu_service.cc
diff --git a/components/mus/common/gpu_service.cc b/components/mus/common/gpu_service.cc
index 7cae194fc7827cb28a9135597a9e28d870f4e58f..37c0635078b4a1920dddd9241ac26f1b235f6f59 100644
--- a/components/mus/common/gpu_service.cc
+++ b/components/mus/common/gpu_service.cc
@@ -30,7 +30,8 @@ void GpuChannelEstablishCallback(int* client_id_out,
GpuService::GpuService()
: main_message_loop_(base::MessageLoop::current()),
- shutdown_event_(false, false),
+ shutdown_event_(base::WaitableEvent::ResetPolicy::AUTOMATIC,
+ base::WaitableEvent::InitialState::NOT_SIGNALED),
io_thread_("GPUIOThread"),
gpu_memory_buffer_manager_(new MojoGpuMemoryBufferManager) {
base::Thread::Options thread_options(base::MessageLoop::TYPE_IO, 0);
« no previous file with comments | « components/browser_watcher/window_hang_monitor_win_unittest.cc ('k') | components/mus/gpu/gpu_service_mus.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698