Index: chrome/browser/ui/cocoa/location_bar/zoom_decoration_browsertest.mm |
diff --git a/chrome/browser/ui/cocoa/location_bar/zoom_decoration_browsertest.mm b/chrome/browser/ui/cocoa/location_bar/zoom_decoration_browsertest.mm |
index c6b035c9e12eb55ade3b8b17f9fe643767067e5f..5c963a61f87fa67c9507ca9d6fe65e6058fc0af5 100644 |
--- a/chrome/browser/ui/cocoa/location_bar/zoom_decoration_browsertest.mm |
+++ b/chrome/browser/ui/cocoa/location_bar/zoom_decoration_browsertest.mm |
@@ -120,11 +120,10 @@ |
EXPECT_TRUE(zoom_decoration->IsVisible()); |
zoom_decoration->ShowBubble(false); |
Zoom(content::PAGE_ZOOM_RESET); |
- EXPECT_TRUE(zoom_decoration->IsVisible()); |
+ EXPECT_FALSE(zoom_decoration->IsVisible()); |
// Hide bubble and verify the decoration is hidden. |
zoom_decoration->CloseBubble(); |
- content::RunAllPendingInMessageLoop(); |
EXPECT_FALSE(zoom_decoration->IsVisible()); |
} |
@@ -147,7 +146,6 @@ |
// Close bubble and verify the decoration is still visible. |
zoom_decoration->CloseBubble(); |
- content::RunAllPendingInMessageLoop(); |
EXPECT_TRUE(zoom_decoration->IsVisible()); |
// Verify the decoration does go away when we expect it to. |