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 41c7d6f57b61156be17277653cc582189c49695a..b68c8822862892de50568224159df7e940e4da82 100644 |
--- a/chrome/renderer/safe_browsing/phishing_term_feature_extractor_unittest.cc |
+++ b/chrome/renderer/safe_browsing/phishing_term_feature_extractor_unittest.cc |
@@ -83,7 +83,8 @@ class PhishingTermFeatureExtractorTest : public ::testing::Test { |
extractor_->ExtractFeatures( |
page_text, |
features, |
- NewCallback(this, &PhishingTermFeatureExtractorTest::ExtractionDone)); |
+ base::Bind(&PhishingTermFeatureExtractorTest::ExtractionDone, |
+ base::Unretained(this))); |
msg_loop_.Run(); |
return success_; |
} |
@@ -92,7 +93,8 @@ class PhishingTermFeatureExtractorTest : public ::testing::Test { |
extractor_->ExtractFeatures( |
page_text, |
features, |
- NewCallback(this, &PhishingTermFeatureExtractorTest::ExtractionDone)); |
+ base::Bind(&PhishingTermFeatureExtractorTest::ExtractionDone, |
+ base::Unretained(this))); |
msg_loop_.PostTask( |
FROM_HERE, |
base::Bind(&PhishingTermFeatureExtractorTest::QuitExtraction, |