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

Unified Diff: chrome/browser/search_engines/template_url_service_test_util.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/search_engines/template_url_service_test_util.cc
diff --git a/chrome/browser/search_engines/template_url_service_test_util.cc b/chrome/browser/search_engines/template_url_service_test_util.cc
index 5b9866a60560077c8ec1c91142a55784cb652a05..356b05ae19555a99fcd11638e0dab05221234b59 100644
--- a/chrome/browser/search_engines/template_url_service_test_util.cc
+++ b/chrome/browser/search_engines/template_url_service_test_util.cc
@@ -185,7 +185,7 @@ void TemplateURLServiceTestUtil::TearDown() {
UIThreadSearchTermsData::SetGoogleBaseURL(std::string());
// Flush the message loop to make application verifiers happy.
- message_loop_.RunAllPending();
+ message_loop_.RunUntilIdle();
}
void TemplateURLServiceTestUtil::OnTemplateURLServiceChanged() {
@@ -312,5 +312,5 @@ void TemplateURLServiceTestUtil::StartIOThread() {
}
void TemplateURLServiceTestUtil::PumpLoop() {
- message_loop_.RunAllPending();
+ message_loop_.RunUntilIdle();
}
« no previous file with comments | « chrome/browser/safe_browsing/safe_browsing_database_unittest.cc ('k') | chrome/browser/signin/token_service_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698