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, |