Index: chrome/common/extensions/extension_action_unittest.cc |
diff --git a/chrome/common/extensions/extension_action_unittest.cc b/chrome/common/extensions/extension_action_unittest.cc |
index f6ea46f4788ada7512bbcfdbe0fef55ea5743643..9cf8ed86ca31ca426e7f507b504d62df7dc91fc7 100644 |
--- a/chrome/common/extensions/extension_action_unittest.cc |
+++ b/chrome/common/extensions/extension_action_unittest.cc |
@@ -137,6 +137,8 @@ TEST_F(ExtensionActionTest, Visibility) { |
ASSERT_FALSE(action.GetIsVisible(1)); |
ASSERT_FALSE(action.GetIsVisible(100)); |
EXPECT_FALSE(action.GetIconAnimation(100)); |
+ |
+ message_loop.RunAllPending(); |
} |
TEST_F(ExtensionActionTest, GetAttention) { |
@@ -156,6 +158,8 @@ TEST_F(ExtensionActionTest, GetAttention) { |
action.SetAppearance(1, ExtensionAction::ACTIVE); |
EXPECT_FALSE(action.GetIconAnimation(1)) |
<< "The animation should not play again if the icon was already visible."; |
+ |
+ message_loop.RunAllPending(); |
} |
TEST_F(ExtensionActionTest, Badge) { |