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

Unified Diff: chrome/browser/sync/backend_migrator_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/backend_migrator_unittest.cc
diff --git a/chrome/browser/sync/backend_migrator_unittest.cc b/chrome/browser/sync/backend_migrator_unittest.cc
index bc28fcb8bd5bd67ff82dabea049f59c5c1ba5526..eea258990de129e4604941ae3408480bd8738688 100644
--- a/chrome/browser/sync/backend_migrator_unittest.cc
+++ b/chrome/browser/sync/backend_migrator_unittest.cc
@@ -85,7 +85,7 @@ class SyncBackendMigratorTest : public testing::Test {
syncer::ModelTypeSet());
migrator_->OnConfigureDone(result);
}
- message_loop_.RunAllPending();
+ message_loop_.RunUntilIdle();
}
ProfileSyncService* service() { return &service_; }

Powered by Google App Engine
This is Rietveld 408576698