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, |