Index: chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc |
diff --git a/chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc b/chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc |
index e92ec7412b2813ca6780d164b71ba2297bba9f14..3d6895c559d3856079aab304eb38a3142c7e4d0d 100644 |
--- a/chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc |
+++ b/chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc |
@@ -74,7 +74,7 @@ class WebRequestRulesRegistryTest : public testing::Test { |
virtual void TearDown() OVERRIDE { |
// Make sure that deletion traits of all registries are executed. |
- message_loop.RunAllPending(); |
+ message_loop.RunUntilIdle(); |
} |
// Returns a rule that roughly matches http://*.example.com and |