| Index: chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc
|
| diff --git a/chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc b/chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc
|
| index e98c15dbb0918dbbdbb9717e1f14b8ab47e326e4..5a98689e3edc58f894cd2afce304e86f9ceb79a3 100644
|
| --- a/chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc
|
| +++ b/chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc
|
| @@ -876,9 +876,7 @@ class TestSBClient
|
| base::Bind(&TestSBClient::CheckDone, this));
|
| }
|
|
|
| - void CheckDone() {
|
| - base::MessageLoopForUI::current()->Quit();
|
| - }
|
| + void CheckDone() { base::MessageLoopForUI::current()->QuitWhenIdle(); }
|
|
|
| SBThreatType threat_type_;
|
| SafeBrowsingService* safe_browsing_service_;
|
| @@ -1149,7 +1147,7 @@ class SafeBrowsingServiceShutdownTest : public SafeBrowsingServiceTest {
|
| Profile::CreateStatus status) {
|
| if (status == Profile::CREATE_STATUS_INITIALIZED) {
|
| profile2_ = profile;
|
| - base::MessageLoop::current()->Quit();
|
| + base::MessageLoop::current()->QuitWhenIdle();
|
| }
|
| }
|
|
|
|
|