Index: chrome/browser/extensions/settings/settings_apitest.cc |
diff --git a/chrome/browser/extensions/settings/settings_apitest.cc b/chrome/browser/extensions/settings/settings_apitest.cc |
index cab59b7bc7d0f43cab31fdcb69e8c636088dffe5..cbcbca81f7399e366559a39bb24dde9b107ea64d 100644 |
--- a/chrome/browser/extensions/settings/settings_apitest.cc |
+++ b/chrome/browser/extensions/settings/settings_apitest.cc |
@@ -129,7 +129,7 @@ class ExtensionSettingsApiTest : public ExtensionApiTest { |
} |
void InitSync(syncer::SyncChangeProcessor* sync_processor) { |
- MessageLoop::current()->RunAllPending(); |
+ MessageLoop::current()->RunUntilIdle(); |
InitSyncWithSyncableService( |
sync_processor, |
browser()->profile()->GetExtensionService()->settings_frontend()-> |
@@ -137,7 +137,7 @@ class ExtensionSettingsApiTest : public ExtensionApiTest { |
} |
void SendChanges(const syncer::SyncChangeList& change_list) { |
- MessageLoop::current()->RunAllPending(); |
+ MessageLoop::current()->RunUntilIdle(); |
SendChangesToSyncableService( |
change_list, |
browser()->profile()->GetExtensionService()->settings_frontend()-> |