Index: content/browser/frame_host/debug_urls.cc |
diff --git a/content/browser/frame_host/debug_urls.cc b/content/browser/frame_host/debug_urls.cc |
index 833b0063ab4a5efc1f1bbd86c6f6cc763e612ecf..69a61ab0521e2b31f9f65c00bee18592aaa7267d 100644 |
--- a/content/browser/frame_host/debug_urls.cc |
+++ b/content/browser/frame_host/debug_urls.cc |
@@ -171,7 +171,9 @@ bool HandleAsanDebugURL(const GURL& url) { |
void HangCurrentThread() { |
ScopedAllowWaitForDebugURL allow_wait; |
- base::WaitableEvent(false, false).Wait(); |
+ base::WaitableEvent(base::WaitableEvent::ResetPolicy::AUTOMATIC, |
+ base::WaitableEvent::InitialState::NOT_SIGNALED) |
+ .Wait(); |
} |
} // namespace |