Index: base/test/scoped_task_scheduler.cc |
diff --git a/base/test/scoped_task_scheduler.cc b/base/test/scoped_task_scheduler.cc |
index 081b84d1933f7b18f448cc905c7052cfee19c99d..dbf49365a389f3ce5022c462dab56466ce1bbcf1 100644 |
--- a/base/test/scoped_task_scheduler.cc |
+++ b/base/test/scoped_task_scheduler.cc |
@@ -222,7 +222,7 @@ void TestTaskScheduler::Shutdown() { |
} |
void TestTaskScheduler::FlushForTesting() { |
- NOTREACHED(); |
+ RunLoop().RunUntilIdle(); |
} |
void TestTaskScheduler::JoinForTesting() { |