Index: net/disk_cache/blockfile/in_flight_io.cc |
diff --git a/net/disk_cache/blockfile/in_flight_io.cc b/net/disk_cache/blockfile/in_flight_io.cc |
index f3416d060263905ae78f3d059dc4a945292e4716..cc65384aeaada22895b8d31791d5bd82acbefa67 100644 |
--- a/net/disk_cache/blockfile/in_flight_io.cc |
+++ b/net/disk_cache/blockfile/in_flight_io.cc |
@@ -16,8 +16,10 @@ |
namespace disk_cache { |
BackgroundIO::BackgroundIO(InFlightIO* controller) |
- : result_(-1), io_completed_(true, false), controller_(controller) { |
-} |
+ : result_(-1), |
+ io_completed_(base::WaitableEvent::ResetPolicy::MANUAL, |
+ base::WaitableEvent::InitialState::NOT_SIGNALED), |
+ controller_(controller) {} |
// Runs on the primary thread. |
void BackgroundIO::OnIOSignalled() { |