summaryrefslogtreecommitdiffstats
path: root/chrome/browser/sync/test/integration/sync_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/sync/test/integration/sync_test.cc')
-rw-r--r--chrome/browser/sync/test/integration/sync_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/sync/test/integration/sync_test.cc b/chrome/browser/sync/test/integration/sync_test.cc
index 1e37357..53fd6b8 100644
--- a/chrome/browser/sync/test/integration/sync_test.cc
+++ b/chrome/browser/sync/test/integration/sync_test.cc
@@ -116,7 +116,7 @@ class SyncServerStatusChecker : public net::URLFetcherDelegate {
running_ =
(source->GetStatus().status() == net::URLRequestStatus::SUCCESS &&
source->GetResponseCode() == 200 && data.find("ok") == 0);
- base::MessageLoop::current()->Quit();
+ base::MessageLoop::current()->QuitWhenIdle();
}
bool running() const { return running_; }