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

Unified Diff: chrome/browser/webdata/web_data_service_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
« no previous file with comments | « chrome/browser/value_store/value_store_frontend_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « chrome/browser/value_store/value_store_frontend_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698