Index: chrome/browser/safe_browsing/client_side_detection_host_unittest.cc |
diff --git a/chrome/browser/safe_browsing/client_side_detection_host_unittest.cc b/chrome/browser/safe_browsing/client_side_detection_host_unittest.cc |
index bb744ccce6fce63dd47ef99c464bbd9cf2da8805..20a6464f83781589bc851e60c9ab0f8cdb4a0472 100644 |
--- a/chrome/browser/safe_browsing/client_side_detection_host_unittest.cc |
+++ b/chrome/browser/safe_browsing/client_side_detection_host_unittest.cc |
@@ -90,7 +90,7 @@ MATCHER(CallbackIsNull, "") { |
ACTION(QuitUIMessageLoop) { |
EXPECT_TRUE(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
- base::MessageLoopForUI::current()->Quit(); |
+ base::MessageLoopForUI::current()->QuitWhenIdle(); |
} |
ACTION_P(InvokeDoneCallback, verdict) { |