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

Unified Diff: chrome/browser/extensions/api/declarative/initializing_rules_registry_unittest.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/api/declarative/initializing_rules_registry_unittest.cc
diff --git a/chrome/browser/extensions/api/declarative/initializing_rules_registry_unittest.cc b/chrome/browser/extensions/api/declarative/initializing_rules_registry_unittest.cc
index f0f6c0d3bef8a5c22bb773649e7bcf28822ac16f..48ce3e5710b53eb426a66b8b435c16f54eac1bf3 100644
--- a/chrome/browser/extensions/api/declarative/initializing_rules_registry_unittest.cc
+++ b/chrome/browser/extensions/api/declarative/initializing_rules_registry_unittest.cc
@@ -111,7 +111,7 @@ TEST(InitializingRulesRegistryTest, FillOptionalIdentifiers) {
// Make sure that deletion traits of registry are executed.
registry = NULL;
- message_loop.RunAllPending();
+ message_loop.RunUntilIdle();
}
TEST(InitializingRulesRegistryTest, FillOptionalPriority) {
@@ -148,7 +148,7 @@ TEST(InitializingRulesRegistryTest, FillOptionalPriority) {
// Make sure that deletion traits of registry are executed.
registry = NULL;
- message_loop.RunAllPending();
+ message_loop.RunUntilIdle();
}
} // namespace extensions

Powered by Google App Engine
This is Rietveld 408576698