Index: chrome/browser/extensions/extension_action_icon_factory_unittest.cc |
diff --git a/chrome/browser/extensions/extension_action_icon_factory_unittest.cc b/chrome/browser/extensions/extension_action_icon_factory_unittest.cc |
index 55fdb8e2d4262cef73f21179ca5541f396a023ba..da7e9ceeed875c9764cda745697637a0f791ecb2 100644 |
--- a/chrome/browser/extensions/extension_action_icon_factory_unittest.cc |
+++ b/chrome/browser/extensions/extension_action_icon_factory_unittest.cc |
@@ -139,7 +139,7 @@ class ExtensionActionIconFactoryTest |
virtual void TearDown() OVERRIDE { |
profile_.reset(); // Get all DeleteSoon calls sent to ui_loop_. |
- ui_loop_.RunAllPending(); |
+ ui_loop_.RunUntilIdle(); |
} |
// ExtensionActionIconFactory::Observer overrides: |