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

Unified Diff: chrome/browser/extensions/api/declarative/rules_registry_with_cache_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/rules_registry_with_cache_unittest.cc
diff --git a/chrome/browser/extensions/api/declarative/rules_registry_with_cache_unittest.cc b/chrome/browser/extensions/api/declarative/rules_registry_with_cache_unittest.cc
index 71eaf167c4341942a07858beb1a500689bce34d7..4f49f36ff67660efd7b8f09d87b3b39e681a8123 100644
--- a/chrome/browser/extensions/api/declarative/rules_registry_with_cache_unittest.cc
+++ b/chrome/browser/extensions/api/declarative/rules_registry_with_cache_unittest.cc
@@ -32,7 +32,7 @@ class RulesRegistryWithCacheTest : public testing::Test {
virtual void TearDown() OVERRIDE {
// Make sure that deletion traits of all registries are executed.
registry_ = NULL;
- message_loop_.RunAllPending();
+ message_loop_.RunUntilIdle();
}
std::string AddRule(const std::string& extension_id,

Powered by Google App Engine
This is Rietveld 408576698