Index: chrome/browser/policy/cloud_policy_refresh_scheduler_unittest.cc |
diff --git a/chrome/browser/policy/cloud_policy_refresh_scheduler_unittest.cc b/chrome/browser/policy/cloud_policy_refresh_scheduler_unittest.cc |
index c74699db218d56e8d4097e084bf169c3e8eec88e..d133be7335f394ca9d3864c3631533b6a704d3c3 100644 |
--- a/chrome/browser/policy/cloud_policy_refresh_scheduler_unittest.cc |
+++ b/chrome/browser/policy/cloud_policy_refresh_scheduler_unittest.cc |
@@ -68,7 +68,7 @@ class CloudPolicyRefreshSchedulerTest : public testing::Test { |
void NotifyIPAddressChanged() { |
net::NetworkChangeNotifier::NotifyObserversOfIPAddressChangeForTests(); |
- loop_.RunAllPending(); |
+ loop_.RunUntilIdle(); |
} |
void CheckTiming(int64 expected_delay_ms) { |