Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(186)

Unified Diff: chrome/browser/sync/glue/bridged_invalidator_unittest.cc

Issue 11413050: chrome/browser: Update calls from RunAllPending() to RunUntilIdle(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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() {

Powered by Google App Engine
This is Rietveld 408576698