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 { |