Index: chrome/browser/sync/test/integration/dictionary_helper.cc |
diff --git a/chrome/browser/sync/test/integration/dictionary_helper.cc b/chrome/browser/sync/test/integration/dictionary_helper.cc |
index 30f92967f51644028dfc736ea9fbf6a5d66353e1..e6fd2914c1aea5e22082639bbafa4e96bea6f3d2 100644 |
--- a/chrome/browser/sync/test/integration/dictionary_helper.cc |
+++ b/chrome/browser/sync/test/integration/dictionary_helper.cc |
@@ -56,7 +56,8 @@ void LoadDictionary(SpellcheckCustomDictionary* dictionary) { |
if (dictionary->IsLoaded()) |
return; |
base::RunLoop run_loop; |
- DictionaryLoadObserver observer(content::GetQuitTaskForRunLoop(&run_loop)); |
+ DictionaryLoadObserver observer( |
+ content::GetDeferredQuitTaskForRunLoop(&run_loop)); |
dictionary->AddObserver(&observer); |
dictionary->Load(); |
content::RunThisRunLoop(&run_loop); |