| Index: chrome/browser/metrics/thread_watcher_unittest.cc
|
| diff --git a/chrome/browser/metrics/thread_watcher_unittest.cc b/chrome/browser/metrics/thread_watcher_unittest.cc
|
| index dbe6a5c6d97a2ca2b00b9cdd66175933cdd098ae..4aca262b664fda495d657724d99aeec98ba7856d 100644
|
| --- a/chrome/browser/metrics/thread_watcher_unittest.cc
|
| +++ b/chrome/browser/metrics/thread_watcher_unittest.cc
|
| @@ -707,7 +707,7 @@ TEST_F(ThreadWatcherListTest, Restart) {
|
| FROM_HERE, message_loop_for_ui.QuitWhenIdleClosure(),
|
| base::TimeDelta::FromSeconds(
|
| ThreadWatcherList::g_initialize_delay_seconds));
|
| - message_loop_for_ui.Run();
|
| + base::RunLoop().Run();
|
|
|
| CheckState(false /* has_thread_watcher_list */,
|
| true /* stopped */,
|
| @@ -719,7 +719,7 @@ TEST_F(ThreadWatcherListTest, Restart) {
|
| FROM_HERE, message_loop_for_ui.QuitWhenIdleClosure(),
|
| base::TimeDelta::FromSeconds(
|
| ThreadWatcherList::g_initialize_delay_seconds + 1));
|
| - message_loop_for_ui.Run();
|
| + base::RunLoop().Run();
|
|
|
| CheckState(true /* has_thread_watcher_list */,
|
| false /* stopped */,
|
| @@ -731,7 +731,7 @@ TEST_F(ThreadWatcherListTest, Restart) {
|
| FROM_HERE, message_loop_for_ui.QuitWhenIdleClosure(),
|
| base::TimeDelta::FromSeconds(
|
| ThreadWatcherList::g_initialize_delay_seconds));
|
| - message_loop_for_ui.Run();
|
| + base::RunLoop().Run();
|
|
|
| CheckState(false /* has_thread_watcher_list */,
|
| true /* stopped */,
|
|
|