Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3011)

Unified Diff: chrome/browser/extensions/settings/settings_test_util.cc

Issue 11413050: chrome/browser: Update calls from RunAllPending() to RunUntilIdle(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
}

Powered by Google App Engine
This is Rietveld 408576698