Index: chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc |
diff --git a/chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc b/chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc |
index 4c09eea87d04a137ef42848e83a98becfb949e06..d424388edc8a8491aa0c8a271a193cfd1164cb07 100644 |
--- a/chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc |
+++ b/chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc |
@@ -70,7 +70,7 @@ ACTION_P(Signal, event) { |
} |
void QuitMessageLoop() { |
- base::MessageLoop::current()->Quit(); |
+ base::MessageLoop::current()->QuitWhenIdle(); |
} |
class MockSyncFrontend : public sync_driver::SyncFrontend { |
@@ -274,7 +274,7 @@ class SyncBackendHostTest : public testing::Test { |
protected: |
void DownloadReady(syncer::ModelTypeSet succeeded_types, |
syncer::ModelTypeSet failed_types) { |
- base::MessageLoop::current()->Quit(); |
+ base::MessageLoop::current()->QuitWhenIdle(); |
} |
void OnDownloadRetry() { |