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

Unified Diff: chrome/browser/sync/glue/sync_backend_host_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/sync_backend_host_unittest.cc
diff --git a/chrome/browser/sync/glue/sync_backend_host_unittest.cc b/chrome/browser/sync/glue/sync_backend_host_unittest.cc
index a397531571b1a2f441d2ea0989ca779df4c3fa8e..9893b5f7023255049f85d6a971251073df0f5322 100644
--- a/chrome/browser/sync/glue/sync_backend_host_unittest.cc
+++ b/chrome/browser/sync/glue/sync_backend_host_unittest.cc
@@ -173,10 +173,10 @@ class SyncBackendHostTest : public testing::Test {
profile_.reset();
// Pump messages posted by the sync thread (which may end up
// posting on the IO thread).
- ui_loop_.RunAllPending();
+ ui_loop_.RunUntilIdle();
io_thread_.Stop();
// Pump any messages posted by the IO thread.
- ui_loop_.RunAllPending();
+ ui_loop_.RunUntilIdle();
}
// Synchronously initializes the backend.

Powered by Google App Engine
This is Rietveld 408576698