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

Unified Diff: chrome/browser/autocomplete/search_provider_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/autocomplete/search_provider_unittest.cc
diff --git a/chrome/browser/autocomplete/search_provider_unittest.cc b/chrome/browser/autocomplete/search_provider_unittest.cc
index 8e97e13e48e2cdfb3d0e08757c4755da94e88b37..d3dc4e3c72aa7557726abd938e0af4261d191d49 100644
--- a/chrome/browser/autocomplete/search_provider_unittest.cc
+++ b/chrome/browser/autocomplete/search_provider_unittest.cc
@@ -202,7 +202,7 @@ void SearchProviderTest::QueryForInput(const string16& text,
// RunAllPending so that the task scheduled by SearchProvider to create the
// URLFetchers runs.
- message_loop_.RunAllPending();
+ message_loop_.RunUntilIdle();
}
void SearchProviderTest::QueryForInputAndSetWYTMatch(
@@ -222,7 +222,7 @@ void SearchProviderTest::QueryForInputAndSetWYTMatch(
}
void SearchProviderTest::TearDown() {
- message_loop_.RunAllPending();
+ message_loop_.RunUntilIdle();
// Shutdown the provider before the profile.
provider_ = NULL;

Powered by Google App Engine
This is Rietveld 408576698