| Index: chrome/browser/safe_browsing/download_protection_service_unittest.cc
|
| diff --git a/chrome/browser/safe_browsing/download_protection_service_unittest.cc b/chrome/browser/safe_browsing/download_protection_service_unittest.cc
|
| index 07405934e73cb365732d2ef9ed72316ab0d14dd9..c80ac41cfcd2ac4fc563c7fd5431440261cc33cb 100644
|
| --- a/chrome/browser/safe_browsing/download_protection_service_unittest.cc
|
| +++ b/chrome/browser/safe_browsing/download_protection_service_unittest.cc
|
| @@ -869,7 +869,7 @@ TEST_F(DownloadProtectionServiceTest, CheckClientDownloadSampledFile) {
|
| &item,
|
| base::Bind(&DownloadProtectionServiceTest::CheckDoneCallback,
|
| base::Unretained(this)));
|
| - MessageLoop::current()->Run();
|
| + base::RunLoop().Run();
|
| EXPECT_TRUE(IsResult(DownloadProtectionService::UNKNOWN));
|
| EXPECT_FALSE(HasClientDownloadRequest());
|
|
|
| @@ -881,7 +881,7 @@ TEST_F(DownloadProtectionServiceTest, CheckClientDownloadSampledFile) {
|
| &item,
|
| base::Bind(&DownloadProtectionServiceTest::CheckDoneCallback,
|
| base::Unretained(this)));
|
| - MessageLoop::current()->Run();
|
| + base::RunLoop().Run();
|
| EXPECT_TRUE(IsResult(DownloadProtectionService::UNKNOWN));
|
| EXPECT_TRUE(HasClientDownloadRequest());
|
| // Verify it's a "light" ping, check that URLs don't have paths, and
|
| @@ -908,7 +908,7 @@ TEST_F(DownloadProtectionServiceTest, CheckClientDownloadSampledFile) {
|
| &item,
|
| base::Bind(&DownloadProtectionServiceTest::CheckDoneCallback,
|
| base::Unretained(this)));
|
| - MessageLoop::current()->Run();
|
| + base::RunLoop().Run();
|
| EXPECT_TRUE(IsResult(DownloadProtectionService::UNKNOWN));
|
| EXPECT_FALSE(HasClientDownloadRequest());
|
|
|
| @@ -920,7 +920,7 @@ TEST_F(DownloadProtectionServiceTest, CheckClientDownloadSampledFile) {
|
| &item,
|
| base::Bind(&DownloadProtectionServiceTest::CheckDoneCallback,
|
| base::Unretained(this)));
|
| - MessageLoop::current()->Run();
|
| + base::RunLoop().Run();
|
| EXPECT_TRUE(IsResult(DownloadProtectionService::UNKNOWN));
|
| EXPECT_FALSE(HasClientDownloadRequest());
|
| }
|
|
|