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

Unified Diff: chrome/browser/intents/web_intents_registry_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/intents/web_intents_registry_unittest.cc
diff --git a/chrome/browser/intents/web_intents_registry_unittest.cc b/chrome/browser/intents/web_intents_registry_unittest.cc
index c9f1e3c945a6ecf2046e9262175ca89993d8e383..712371dbff0e1c4cee8e3db8d2850fd14f98d931 100644
--- a/chrome/browser/intents/web_intents_registry_unittest.cc
+++ b/chrome/browser/intents/web_intents_registry_unittest.cc
@@ -785,7 +785,7 @@ TEST_F(WebIntentsRegistryTest, UnregisterDefaultIntentServicesForServiceURL) {
ASSERT_EQ(2U, consumer.services_.size());
registry_.UnregisterServiceDefaults(service_url_0);
- MessageLoop::current()->RunAllPending();
+ MessageLoop::current()->RunUntilIdle();
registry_.GetAllDefaultIntentServices(
base::Bind(&DefaultServiceListConsumer::Accept,

Powered by Google App Engine
This is Rietveld 408576698