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

Unified Diff: ppapi/nacl_irt/manifest_service.cc

Issue 2043893002: Migrate WaitableEvent to enum-based constructor in ppapi/nacl_irt (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix compile 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
« no previous file with comments | « no previous file | ppapi/nacl_irt/plugin_startup.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/nacl_irt/manifest_service.cc
diff --git a/ppapi/nacl_irt/manifest_service.cc b/ppapi/nacl_irt/manifest_service.cc
index 030cc4a9634719832160846a8021fd9d72fdfacf..f045dbcb70428983b19bdc06f71a1a418ec20957 100644
--- a/ppapi/nacl_irt/manifest_service.cc
+++ b/ppapi/nacl_irt/manifest_service.cc
@@ -34,9 +34,8 @@ class ManifestMessageFilter : public IPC::SyncMessageFilter {
ManifestMessageFilter(base::WaitableEvent* shutdown_event)
: SyncMessageFilter(shutdown_event,
false /* is_channel_send_thread_safe */),
- connected_event_(
- true /* manual_reset */, false /* initially_signaled */) {
- }
+ connected_event_(base::WaitableEvent::ResetPolicy::MANUAL,
+ base::WaitableEvent::InitialState::NOT_SIGNALED) {}
bool Send(IPC::Message* message) override {
// Wait until set up is actually done.
« no previous file with comments | « no previous file | ppapi/nacl_irt/plugin_startup.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698