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

Unified Diff: chrome/browser/metrics/variations/resource_request_allowed_notifier_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/metrics/variations/resource_request_allowed_notifier_unittest.cc
diff --git a/chrome/browser/metrics/variations/resource_request_allowed_notifier_unittest.cc b/chrome/browser/metrics/variations/resource_request_allowed_notifier_unittest.cc
index 782140e808e8cc2803265b3a75add16682852227..ba8800f9579764960c0cf8c281e2793ec50058a0 100644
--- a/chrome/browser/metrics/variations/resource_request_allowed_notifier_unittest.cc
+++ b/chrome/browser/metrics/variations/resource_request_allowed_notifier_unittest.cc
@@ -25,7 +25,7 @@ class TestNetworkChangeNotifier : public net::NetworkChangeNotifier {
net::NetworkChangeNotifier::ConnectionType type) {
connection_type_to_return_ = type;
net::NetworkChangeNotifier::NotifyObserversOfConnectionTypeChange();
- MessageLoop::current()->RunAllPending();
+ MessageLoop::current()->RunUntilIdle();
}
private:

Powered by Google App Engine
This is Rietveld 408576698