Index: chrome/browser/sync/test/integration/sessions_helper.cc |
diff --git a/chrome/browser/sync/test/integration/sessions_helper.cc b/chrome/browser/sync/test/integration/sessions_helper.cc |
index d8ecce4a042f4c9a0498cb14efe360f9015b48b5..d69baa20641d2642caa442f1adb7c9daf8be6317 100644 |
--- a/chrome/browser/sync/test/integration/sessions_helper.cc |
+++ b/chrome/browser/sync/test/integration/sessions_helper.cc |
@@ -156,9 +156,7 @@ class TabEventHandler : public browser_sync::LocalSessionEventHandler { |
} |
private: |
- void QuitLoop() { |
- base::MessageLoop::current()->Quit(); |
- } |
+ void QuitLoop() { base::MessageLoop::current()->QuitWhenIdle(); } |
base::WeakPtrFactory<TabEventHandler> weak_factory_; |
}; |