| 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 256577d233d72a66db26e7e09e8e0bf52af6c12c..86955da31b0ab764027731b7e21730223cdf4612 100644
|
| --- a/chrome/renderer/safe_browsing/phishing_term_feature_extractor_unittest.cc
|
| +++ b/chrome/renderer/safe_browsing/phishing_term_feature_extractor_unittest.cc
|
| @@ -15,6 +15,7 @@
|
| #include "base/containers/hash_tables.h"
|
| #include "base/location.h"
|
| #include "base/message_loop/message_loop.h"
|
| +#include "base/run_loop.h"
|
| #include "base/single_thread_task_runner.h"
|
| #include "base/strings/string16.h"
|
| #include "base/strings/stringprintf.h"
|
| @@ -102,7 +103,7 @@ class PhishingTermFeatureExtractorTest : public ::testing::Test {
|
| shingle_hashes,
|
| base::Bind(&PhishingTermFeatureExtractorTest::ExtractionDone,
|
| base::Unretained(this)));
|
| - msg_loop_.Run();
|
| + base::RunLoop().Run();
|
| return success_;
|
| }
|
|
|
| @@ -118,7 +119,7 @@ class PhishingTermFeatureExtractorTest : public ::testing::Test {
|
| msg_loop_.task_runner()->PostTask(
|
| FROM_HERE, base::Bind(&PhishingTermFeatureExtractorTest::QuitExtraction,
|
| base::Unretained(this)));
|
| - msg_loop_.RunUntilIdle();
|
| + base::RunLoop().RunUntilIdle();
|
| }
|
|
|
| // Completion callback for feature extraction.
|
|
|