Index: chrome/browser/webdata/web_data_service_unittest.cc |
diff --git a/chrome/browser/webdata/web_data_service_unittest.cc b/chrome/browser/webdata/web_data_service_unittest.cc |
index b67d273e558dc65f276fed569fc07e65b4124ced..cc383af7c7c9b731d5a6b8f5eda2bc0cd9cfa518 100644 |
--- a/chrome/browser/webdata/web_data_service_unittest.cc |
+++ b/chrome/browser/webdata/web_data_service_unittest.cc |
@@ -819,7 +819,7 @@ TEST_F(WebDataServiceTest, WebIntentsRemoveDefaultByServiceURL) { |
ASSERT_EQ(2U, consumer.services_.size()); |
wds_->RemoveWebIntentServiceDefaults(service_url_0); |
- MessageLoop::current()->RunAllPending(); |
+ MessageLoop::current()->RunUntilIdle(); |
wds_->GetAllDefaultWebIntentServices(&consumer); |
WaitUntilCalled(); |