Index: chrome/browser/extensions/settings/settings_test_util.cc |
diff --git a/chrome/browser/extensions/settings/settings_test_util.cc b/chrome/browser/extensions/settings/settings_test_util.cc |
index 434fe5f7b72253452923d295d881aa5cb6cb8015..afb1ca0e4390d6e1a91d0d3cc33dc1e875cd7b14 100644 |
--- a/chrome/browser/extensions/settings/settings_test_util.cc |
+++ b/chrome/browser/extensions/settings/settings_test_util.cc |
@@ -27,7 +27,7 @@ ValueStore* GetStorage( |
extension_id, |
settings_namespace, |
base::Bind(&AssignStorage, &storage)); |
- MessageLoop::current()->RunAllPending(); |
+ MessageLoop::current()->RunUntilIdle(); |
return storage; |
} |