Index: chrome/browser/google_apis/test_util.cc |
diff --git a/chrome/browser/google_apis/test_util.cc b/chrome/browser/google_apis/test_util.cc |
index 0b3c379c6762ee0b43e70cfc9e7d6413633388c9..314f7982a7db103e3a8a90af5c1575784230e313 100644 |
--- a/chrome/browser/google_apis/test_util.cc |
+++ b/chrome/browser/google_apis/test_util.cc |
@@ -54,7 +54,7 @@ void RunBlockingPoolTask() { |
TaskObserver task_observer; |
MessageLoop::current()->AddTaskObserver(&task_observer); |
- MessageLoop::current()->RunAllPending(); |
+ MessageLoop::current()->RunUntilIdle(); |
MessageLoop::current()->RemoveTaskObserver(&task_observer); |
if (!task_observer.posted()) |
break; |