| 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 cd27712f50375a0af74f718dea7ce5121f8fb9a9..2606c2f8d6a97058dd2c7b93023885167a91ea53 100644
|
| --- a/chrome/browser/safe_browsing/download_protection_service_unittest.cc
|
| +++ b/chrome/browser/safe_browsing/download_protection_service_unittest.cc
|
| @@ -343,9 +343,7 @@ class DownloadProtectionServiceTest : public testing::Test {
|
| base::Unretained(this)));
|
| }
|
|
|
| - void QuitMessageLoop() {
|
| - base::MessageLoop::current()->Quit();
|
| - }
|
| + void QuitMessageLoop() { base::MessageLoop::current()->QuitWhenIdle(); }
|
|
|
| void PostRunMessageLoopTask(BrowserThread::ID thread) {
|
| BrowserThread::PostTask(
|
| @@ -377,7 +375,7 @@ class DownloadProtectionServiceTest : public testing::Test {
|
| DownloadProtectionService::DownloadCheckResult result) {
|
| result_ = result;
|
| has_result_ = true;
|
| - MessageLoop::current()->Quit();
|
| + MessageLoop::current()->QuitWhenIdle();
|
| }
|
|
|
| void SyncCheckDoneCallback(
|
|
|