Index: chrome/browser/sync/glue/bridged_invalidator_unittest.cc |
diff --git a/chrome/browser/sync/glue/bridged_invalidator_unittest.cc b/chrome/browser/sync/glue/bridged_invalidator_unittest.cc |
index 966f387eb0835e9efb8b9bd3a7b579fc5b72d279..110aa635c0d375ea74b276bfefecd5c3002522b8 100644 |
--- a/chrome/browser/sync/glue/bridged_invalidator_unittest.cc |
+++ b/chrome/browser/sync/glue/bridged_invalidator_unittest.cc |
@@ -38,7 +38,7 @@ class BridgedInvalidatorTestDelegate { |
bridge_(&mock_profile_, ui_loop_.message_loop_proxy()), |
fake_delegate_(NULL) { |
// Pump |ui_loop_| to fully initialize |bridge_|. |
- ui_loop_.RunAllPending(); |
+ ui_loop_.RunUntilIdle(); |
} |
~BridgedInvalidatorTestDelegate() { |
@@ -72,7 +72,7 @@ class BridgedInvalidatorTestDelegate { |
invalidator_.reset(); |
fake_delegate_ = NULL; |
bridge_.StopForShutdown(); |
- ui_loop_.RunAllPending(); |
+ ui_loop_.RunUntilIdle(); |
} |
void WaitForInvalidator() { |