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_; |