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

Unified Diff: content/child/fileapi/webfilesystem_impl.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/child_process.cc ('k') | content/child/fileapi/webfilewriter_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/fileapi/webfilesystem_impl.cc
diff --git a/content/child/fileapi/webfilesystem_impl.cc b/content/child/fileapi/webfilesystem_impl.cc
index 848079f09ae63d4f5730b3ba3c42f757b2bb17bb..d8d3c816ad73e2beac81f3216e47415cf3de8aeb 100644
--- a/content/child/fileapi/webfilesystem_impl.cc
+++ b/content/child/fileapi/webfilesystem_impl.cc
@@ -42,8 +42,9 @@ class WebFileSystemImpl::WaitableCallbackResults
: public base::RefCountedThreadSafe<WaitableCallbackResults> {
public:
WaitableCallbackResults()
- : results_available_event_(true /* manual_reset */,
- false /* initially_signaled */) {}
+ : results_available_event_(
+ base::WaitableEvent::ResetPolicy::MANUAL,
+ base::WaitableEvent::InitialState::NOT_SIGNALED) {}
void AddResultsAndSignal(const base::Closure& results_closure) {
base::AutoLock lock(lock_);
« no previous file with comments | « content/child/child_process.cc ('k') | content/child/fileapi/webfilewriter_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698