| Index: chrome/test/base/testing_profile.cc
|
| diff --git a/chrome/test/base/testing_profile.cc b/chrome/test/base/testing_profile.cc
|
| index f2c32ae6238845c62343db70d4911a15c9d36d74..d175997e4b60c3defcc145a6f675e3e54751bc50 100644
|
| --- a/chrome/test/base/testing_profile.cc
|
| +++ b/chrome/test/base/testing_profile.cc
|
| @@ -651,7 +651,7 @@ void TestingProfile::BlockUntilHistoryIndexIsRefreshed() {
|
| return;
|
| base::RunLoop run_loop;
|
| HistoryIndexRestoreObserver observer(
|
| - content::GetQuitTaskForRunLoop(&run_loop));
|
| + content::GetDeferredQuitTaskForRunLoop(&run_loop));
|
| index->set_restore_cache_observer(&observer);
|
| run_loop.Run();
|
| index->set_restore_cache_observer(NULL);
|
|
|