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

Unified Diff: blimp/client/feature/compositor/blimp_input_manager.cc

Issue 2024723002: DO NOT COMMIT (will be split in sub-components) - clang-tidy WaitableEvent refactor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@WEvent_enums
Patch Set: fix presubmits Created 4 years, 7 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
« no previous file with comments | « base/trace_event/trace_sampling_thread.cc ('k') | cc/trees/layer_tree_host_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/client/feature/compositor/blimp_input_manager.cc
diff --git a/blimp/client/feature/compositor/blimp_input_manager.cc b/blimp/client/feature/compositor/blimp_input_manager.cc
index 14f6f38b154a88166c4eefbde0739deb6cd340ab..44a367f48255ed4327a2f179c83d193f69efc038 100644
--- a/blimp/client/feature/compositor/blimp_input_manager.cc
+++ b/blimp/client/feature/compositor/blimp_input_manager.cc
@@ -47,8 +47,9 @@ BlimpInputManager::BlimpInputManager(
BlimpInputManager::~BlimpInputManager() {
DCHECK(IsMainThread());
- base::WaitableEvent shutdown_event(false /* manual_reset */,
- false /* initially_signaled */);
+ base::WaitableEvent shutdown_event(
+ base::WaitableEvent::ResetPolicy::AUTOMATIC,
+ base::WaitableEvent::InitialState::NOT_SIGNALED);
{
base::AutoReset<bool> auto_reset_main_thread_blocked(
&main_thread_blocked_, true);
« no previous file with comments | « base/trace_event/trace_sampling_thread.cc ('k') | cc/trees/layer_tree_host_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698