| Index: chrome/browser/metrics/thread_watcher_android_unittest.cc
|
| diff --git a/chrome/browser/metrics/thread_watcher_android_unittest.cc b/chrome/browser/metrics/thread_watcher_android_unittest.cc
|
| index 1bcc58bcb54aa8626411e4f19f3eea6e6e372bd5..9479d1c0064be36a70c230d732e85f0cd4837185 100644
|
| --- a/chrome/browser/metrics/thread_watcher_android_unittest.cc
|
| +++ b/chrome/browser/metrics/thread_watcher_android_unittest.cc
|
| @@ -28,7 +28,9 @@ void PostAndWaitForWatchdogThread(base::WaitableEvent* event) {
|
| }
|
|
|
| void NotifyApplicationStateChange(base::android::ApplicationState state) {
|
| - base::WaitableEvent watchdog_thread_event(false, false);
|
| + base::WaitableEvent watchdog_thread_event(
|
| + base::WaitableEvent::ResetPolicy::AUTOMATIC,
|
| + base::WaitableEvent::InitialState::NOT_SIGNALED);
|
|
|
| base::android::ApplicationStatusListener::NotifyApplicationStateChange(state);
|
| base::RunLoop().RunUntilIdle();
|
|
|