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

Unified Diff: chrome/renderer/safe_browsing/phishing_term_feature_extractor_unittest.cc

Issue 1395103003: Don't use base::MessageLoop::{Quit,QuitClosure} in chrome/ (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: chrome/renderer/safe_browsing/phishing_term_feature_extractor_unittest.cc
diff --git a/chrome/renderer/safe_browsing/phishing_term_feature_extractor_unittest.cc b/chrome/renderer/safe_browsing/phishing_term_feature_extractor_unittest.cc
index 78967586bf32e78a37dbd8f6eae374977beaa17b..b5a9979676d84f0cd0a2007b02e601190d75e530 100644
--- a/chrome/renderer/safe_browsing/phishing_term_feature_extractor_unittest.cc
+++ b/chrome/renderer/safe_browsing/phishing_term_feature_extractor_unittest.cc
@@ -121,12 +121,12 @@ class PhishingTermFeatureExtractorTest : public ::testing::Test {
// Completion callback for feature extraction.
void ExtractionDone(bool success) {
success_ = success;
- msg_loop_.Quit();
+ msg_loop_.QuitWhenIdle();
}
void QuitExtraction() {
extractor_->CancelPendingExtraction();
- msg_loop_.Quit();
+ msg_loop_.QuitWhenIdle();
}
base::MessageLoop msg_loop_;
« no previous file with comments | « chrome/common/worker_thread_ticker_unittest.cc ('k') | chrome/service/cloud_print/cloud_print_url_fetcher_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698