Index: chrome/browser/policy/cloud_policy_validator_unittest.cc |
diff --git a/chrome/browser/policy/cloud_policy_validator_unittest.cc b/chrome/browser/policy/cloud_policy_validator_unittest.cc |
index 57c4589d86694d5a481f174720598c899f1f945f..7c9e8290260460c58e3f1d6af5915abf11ff46c8 100644 |
--- a/chrome/browser/policy/cloud_policy_validator_unittest.cc |
+++ b/chrome/browser/policy/cloud_policy_validator_unittest.cc |
@@ -68,7 +68,7 @@ class CloudPolicyValidatorTest : public testing::Test { |
// Run validation and check the result. |
EXPECT_CALL(*this, ValidationCompletion(validator)).WillOnce(check_action); |
validator->StartValidation(); |
- loop_.RunAllPending(); |
+ loop_.RunUntilIdle(); |
Mock::VerifyAndClearExpectations(this); |
} |