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

Unified Diff: base/mac/libdispatch_task_runner.cc

Issue 2050283002: Fix compile again (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@d_5_event_var
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
« no previous file with comments | « no previous file | media/gpu/v4l2_video_decode_accelerator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/mac/libdispatch_task_runner.cc
diff --git a/base/mac/libdispatch_task_runner.cc b/base/mac/libdispatch_task_runner.cc
index adf12619d679c092eb6122abf61f408b3ae8b1e9..dcbeecc08ac60b4284f9d3a0616f0ada4f9c8749 100644
--- a/base/mac/libdispatch_task_runner.cc
+++ b/base/mac/libdispatch_task_runner.cc
@@ -13,7 +13,8 @@ namespace mac {
LibDispatchTaskRunner::LibDispatchTaskRunner(const char* name)
: queue_(dispatch_queue_create(name, NULL)),
- queue_finalized_(false, false) {
+ queue_finalized_(base::WaitableEvent::ResetPolicy::AUTOMATIC,
+ base::WaitableEvent::InitialState::NOT_SIGNALED) {
dispatch_set_context(queue_, this);
dispatch_set_finalizer_f(queue_, &LibDispatchTaskRunner::Finalizer);
}
« no previous file with comments | « no previous file | media/gpu/v4l2_video_decode_accelerator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698