Chromium Code Reviews| Index: base/test/scoped_task_scheduler.cc |
| diff --git a/base/test/scoped_task_scheduler.cc b/base/test/scoped_task_scheduler.cc |
| index 61ed2c7730ffd0f30c79ff744ceebe122290db5d..0bb35a39e421e8efca6f6b4ae5cfe428991b9052 100644 |
| --- a/base/test/scoped_task_scheduler.cc |
| +++ b/base/test/scoped_task_scheduler.cc |
| @@ -188,7 +188,7 @@ void TestTaskScheduler::Shutdown() { |
| } |
| void TestTaskScheduler::FlushForTesting() { |
| - NOTREACHED(); |
| + RunLoop().RunUntilIdle(); |
| } |
| void TestTaskScheduler::JoinForTesting() { |