Index: chrome/browser/intents/cws_intents_registry_unittest.cc |
diff --git a/chrome/browser/intents/cws_intents_registry_unittest.cc b/chrome/browser/intents/cws_intents_registry_unittest.cc |
index 9a667016f986ce3ac4444b1a309df73132e1014d..bc095760788b6172f079602e111ef740516f5a65 100644 |
--- a/chrome/browser/intents/cws_intents_registry_unittest.cc |
+++ b/chrome/browser/intents/cws_intents_registry_unittest.cc |
@@ -161,11 +161,11 @@ class CWSIntentsRegistryTest : public testing::Test { |
virtual void TearDown() { |
// Pump messages posted by the main thread. |
- ui_loop_.RunAllPending(); |
+ ui_loop_.RunUntilIdle(); |
} |
CWSIntentsRegistry::IntentExtensionList WaitForResults() { |
- ui_loop_.RunAllPending(); |
+ ui_loop_.RunUntilIdle(); |
return extensions_; |
} |