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

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

Issue 2041033003: clang-tidy WaitableEvent refactor (Android side) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@0_windows
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: 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_event_android.cc ('k') | chrome/browser/android/bookmarks/partner_bookmarks_reader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698