Index: chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc |
diff --git a/chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc b/chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc |
index ddede93cf1f9947558069476e2eed43f5c84e5f1..ee4a20bfba7d1bc12a7b097b0f36971a832750f9 100644 |
--- a/chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc |
+++ b/chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc |
@@ -714,7 +714,9 @@ class HTML5FileWriter { |
} |
// Invoke the fileapi to copy it into the sandboxed filesystem. |
bool result = false; |
- base::WaitableEvent done_event(true, false); |
+ base::WaitableEvent done_event( |
+ base::WaitableEvent::ResetPolicy::MANUAL, |
+ base::WaitableEvent::InitialState::NOT_SIGNALED); |
BrowserThread::PostTask( |
BrowserThread::IO, FROM_HERE, |
base::Bind(&CreateFileForTestingOnIOThread, |