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

Unified Diff: content/child/child_process.cc

Issue 2026253003: Migrate WaitableEvent to enum-based constructor in content/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@WEvent_enums
Patch Set: 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 | « content/child/blink_platform_impl.cc ('k') | content/child/fileapi/webfilesystem_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/child_process.cc
diff --git a/content/child/child_process.cc b/content/child/child_process.cc
index 6d50239f14b885707427a145768343af92d8e9f8..8411653ad8c2b699a8e1b5900b81d87d6c8d7b3d 100644
--- a/content/child/child_process.cc
+++ b/content/child/child_process.cc
@@ -38,7 +38,8 @@ ChildProcess::ChildProcess() : ChildProcess(base::ThreadPriority::NORMAL) {}
ChildProcess::ChildProcess(base::ThreadPriority io_thread_priority)
: ref_count_(0),
- shutdown_event_(true, false),
+ shutdown_event_(base::WaitableEvent::ResetPolicy::MANUAL,
+ base::WaitableEvent::InitialState::NOT_SIGNALED),
io_thread_("Chrome_ChildIOThread") {
DCHECK(!g_lazy_tls.Pointer()->Get());
g_lazy_tls.Pointer()->Set(this);
« no previous file with comments | « content/child/blink_platform_impl.cc ('k') | content/child/fileapi/webfilesystem_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698