| Index: chrome/browser/ui/views/location_bar/zoom_bubble_view_browsertest.cc
|
| diff --git a/chrome/browser/ui/views/location_bar/zoom_bubble_view_browsertest.cc b/chrome/browser/ui/views/location_bar/zoom_bubble_view_browsertest.cc
|
| index db9e61c6a3bf26564018766b7cac3750a20f5d21..3d54f2f602d7714c726cef77093a2ede534c61bc 100644
|
| --- a/chrome/browser/ui/views/location_bar/zoom_bubble_view_browsertest.cc
|
| +++ b/chrome/browser/ui/views/location_bar/zoom_bubble_view_browsertest.cc
|
| @@ -26,7 +26,7 @@ IN_PROC_BROWSER_TEST_F(ZoomBubbleBrowserTest, MAYBE_NonImmersiveFullscreen) {
|
| content::WebContents* web_contents = browser_view->GetActiveWebContents();
|
|
|
| // The zoom bubble should be anchored when not in fullscreen.
|
| - ZoomBubbleView::ShowBubble(web_contents, true);
|
| + ZoomBubbleView::ShowBubble(web_contents, ZoomBubbleView::AUTOMATIC);
|
| ASSERT_TRUE(ZoomBubbleView::GetZoomBubble());
|
| const ZoomBubbleView* zoom_bubble = ZoomBubbleView::GetZoomBubble();
|
| EXPECT_TRUE(zoom_bubble->GetAnchorView());
|
| @@ -49,7 +49,7 @@ IN_PROC_BROWSER_TEST_F(ZoomBubbleBrowserTest, MAYBE_NonImmersiveFullscreen) {
|
|
|
| // The bubble should not be anchored when it is shown in non-immersive
|
| // fullscreen.
|
| - ZoomBubbleView::ShowBubble(web_contents, true);
|
| + ZoomBubbleView::ShowBubble(web_contents, ZoomBubbleView::AUTOMATIC);
|
| ASSERT_TRUE(ZoomBubbleView::GetZoomBubble());
|
| zoom_bubble = ZoomBubbleView::GetZoomBubble();
|
| EXPECT_FALSE(zoom_bubble->GetAnchorView());
|
| @@ -87,7 +87,7 @@ IN_PROC_BROWSER_TEST_F(ZoomBubbleBrowserTest, ImmersiveFullscreen) {
|
|
|
| // The zoom bubble should not be anchored when it is shown in immersive
|
| // fullscreen and the top-of-window views are not revealed.
|
| - ZoomBubbleView::ShowBubble(web_contents, true);
|
| + ZoomBubbleView::ShowBubble(web_contents, ZoomBubbleView::AUTOMATIC);
|
| ASSERT_TRUE(ZoomBubbleView::GetZoomBubble());
|
| const ZoomBubbleView* zoom_bubble = ZoomBubbleView::GetZoomBubble();
|
| EXPECT_FALSE(zoom_bubble->GetAnchorView());
|
| @@ -101,7 +101,7 @@ IN_PROC_BROWSER_TEST_F(ZoomBubbleBrowserTest, ImmersiveFullscreen) {
|
|
|
| // The zoom bubble should be anchored when it is shown in immersive fullscreen
|
| // and the top-of-window views are revealed.
|
| - ZoomBubbleView::ShowBubble(web_contents, true);
|
| + ZoomBubbleView::ShowBubble(web_contents, ZoomBubbleView::AUTOMATIC);
|
| ASSERT_TRUE(ZoomBubbleView::GetZoomBubble());
|
| zoom_bubble = ZoomBubbleView::GetZoomBubble();
|
| EXPECT_TRUE(zoom_bubble->GetAnchorView());
|
|
|