Index: chrome/browser/chromeos/login/parallel_authenticator_unittest.cc |
diff --git a/chrome/browser/chromeos/login/parallel_authenticator_unittest.cc b/chrome/browser/chromeos/login/parallel_authenticator_unittest.cc |
index 3f4a6fb608e0aa0dc735ad22378d9fb86312a871..7b8ce3440a2a547d7ac49360d5ca8e5f383530c6 100644 |
--- a/chrome/browser/chromeos/login/parallel_authenticator_unittest.cc |
+++ b/chrome/browser/chromeos/login/parallel_authenticator_unittest.cc |
@@ -179,7 +179,7 @@ class ParallelAuthenticatorTest : public testing::Test { |
void RunResolve(ParallelAuthenticator* auth) { |
auth->Resolve(); |
- message_loop_.RunAllPending(); |
+ message_loop_.RunUntilIdle(); |
} |
void SetAttemptState(ParallelAuthenticator* auth, TestAttemptState* state) { |
@@ -665,7 +665,7 @@ TEST_F(ParallelAuthenticatorTest, DriveOfflineLoginGetNewPassword) { |
std::string(), |
std::string()); |
message_loop_.Run(); |
- message_loop_.RunAllPending(); |
+ message_loop_.RunUntilIdle(); |
} |
TEST_F(ParallelAuthenticatorTest, DriveOfflineLoginGetCaptchad) { |
@@ -708,7 +708,7 @@ TEST_F(ParallelAuthenticatorTest, DriveOfflineLoginGetCaptchad) { |
std::string(), |
std::string()); |
message_loop_.Run(); |
- message_loop_.RunAllPending(); |
+ message_loop_.RunUntilIdle(); |
} |
TEST_F(ParallelAuthenticatorTest, DriveOnlineLogin) { |