Index: net/disk_cache/blockfile/backend_impl.cc |
diff --git a/net/disk_cache/blockfile/backend_impl.cc b/net/disk_cache/blockfile/backend_impl.cc |
index fe05bac3d61be8c6a0c4e1f289b3ff341e0071c0..e52900844f6dd46a03e485035f3689f334576357 100644 |
--- a/net/disk_cache/blockfile/backend_impl.cc |
+++ b/net/disk_cache/blockfile/backend_impl.cc |
@@ -136,9 +136,9 @@ BackendImpl::BackendImpl( |
first_timer_(true), |
user_load_(false), |
net_log_(net_log), |
- done_(true, false), |
- ptr_factory_(this) { |
-} |
+ done_(base::WaitableEvent::ResetPolicy::MANUAL, |
+ base::WaitableEvent::InitialState::NOT_SIGNALED), |
+ ptr_factory_(this) {} |
BackendImpl::BackendImpl( |
const base::FilePath& path, |
@@ -163,7 +163,8 @@ BackendImpl::BackendImpl( |
first_timer_(true), |
user_load_(false), |
net_log_(net_log), |
- done_(true, false), |
+ done_(base::WaitableEvent::ResetPolicy::MANUAL, |
+ base::WaitableEvent::InitialState::NOT_SIGNALED), |
ptr_factory_(this) {} |
BackendImpl::~BackendImpl() { |