| 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 5c963a61f87fa67c9507ca9d6fe65e6058fc0af5..c6b035c9e12eb55ade3b8b17f9fe643767067e5f 100644
|
| --- a/chrome/browser/ui/cocoa/location_bar/zoom_decoration_browsertest.mm
|
| +++ b/chrome/browser/ui/cocoa/location_bar/zoom_decoration_browsertest.mm
|
| @@ -120,10 +120,11 @@ IN_PROC_BROWSER_TEST_P(ZoomDecorationTest, BubbleAtDefaultZoom) {
|
| EXPECT_TRUE(zoom_decoration->IsVisible());
|
| zoom_decoration->ShowBubble(false);
|
| Zoom(content::PAGE_ZOOM_RESET);
|
| - EXPECT_FALSE(zoom_decoration->IsVisible());
|
| + EXPECT_TRUE(zoom_decoration->IsVisible());
|
|
|
| // Hide bubble and verify the decoration is hidden.
|
| zoom_decoration->CloseBubble();
|
| + content::RunAllPendingInMessageLoop();
|
| EXPECT_FALSE(zoom_decoration->IsVisible());
|
| }
|
|
|
| @@ -146,6 +147,7 @@ IN_PROC_BROWSER_TEST_P(ZoomDecorationTest, IconRemainsVisibleAfterBubble) {
|
|
|
| // 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.
|
|
|