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

Unified Diff: components/search_engines/template_url_fetcher_unittest.cc

Issue 1402553002: Don't use base::MessageLoop::{Quit,QuitClosure} in components/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 months 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: components/search_engines/template_url_fetcher_unittest.cc
diff --git a/components/search_engines/template_url_fetcher_unittest.cc b/components/search_engines/template_url_fetcher_unittest.cc
index 6eb5a43641c165cc43cfb80e5aa66814b1778499..005deff4a18088e2a43f1db6e967c82fc8935622 100644
--- a/components/search_engines/template_url_fetcher_unittest.cc
+++ b/components/search_engines/template_url_fetcher_unittest.cc
@@ -114,7 +114,7 @@ TemplateURLFetcherTest::TemplateURLFetcherTest()
void TemplateURLFetcherTest::DestroyedCallback() {
callbacks_destroyed_++;
if (waiting_for_download_)
- base::MessageLoop::current()->Quit();
+ base::MessageLoop::current()->QuitWhenIdle();
}
void TemplateURLFetcherTest::ConfirmAddSearchProvider(

Powered by Google App Engine
This is Rietveld 408576698