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

Unified Diff: chrome/browser/signin/token_service_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/signin/token_service_unittest.cc
diff --git a/chrome/browser/signin/token_service_unittest.cc b/chrome/browser/signin/token_service_unittest.cc
index 69ab3159f6b76ad9599bade8017894a5c700ca29..9f0d5cdd33ffb4ab154711dab64f6c1e4a589a60 100644
--- a/chrome/browser/signin/token_service_unittest.cc
+++ b/chrome/browser/signin/token_service_unittest.cc
@@ -119,7 +119,7 @@ void TokenServiceTestHarness::WaitForDBLoadCompletion() {
done.Wait();
// Notifications should be returned from the DB thread onto the UI thread.
- message_loop_.RunAllPending();
+ message_loop_.RunUntilIdle();
}
class TokenServiceTest : public TokenServiceTestHarness {

Powered by Google App Engine
This is Rietveld 408576698