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(); |
} |