Index: content/browser/frame_host/interstitial_page_impl_browsertest.cc |
diff --git a/content/browser/frame_host/interstitial_page_impl_browsertest.cc b/content/browser/frame_host/interstitial_page_impl_browsertest.cc |
index b483282f5892092d7ae2071a77e2f085248b390c..0cfb75175bed6e29fdb80797ce1153de815eddc7 100644 |
--- a/content/browser/frame_host/interstitial_page_impl_browsertest.cc |
+++ b/content/browser/frame_host/interstitial_page_impl_browsertest.cc |
@@ -315,7 +315,9 @@ class InterstitialPageImplTest : public ContentBrowserTest { |
private: |
void RunTaskOnIOThreadAndWait(const base::Closure& task) { |
- base::WaitableEvent completion(false, false); |
+ base::WaitableEvent completion( |
+ base::WaitableEvent::ResetPolicy::AUTOMATIC, |
+ base::WaitableEvent::InitialState::NOT_SIGNALED); |
BrowserThread::PostTask(BrowserThread::IO, FROM_HERE, |
base::Bind(&InterstitialPageImplTest::RunTask, this, |
task, &completion)); |