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 2e9df1149a8b60b789f762a2091a64e461fb969f..eaa65716dc3ce9a5b3dc05f6c8a30f93d0f0e3c9 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 |
@@ -38,8 +38,8 @@ IN_PROC_BROWSER_TEST_F(ZoomBubbleBrowserTest, MAYBE_NonImmersiveFullscreen) { |
// notification before testing the zoom bubble visibility. |
scoped_ptr<FullscreenNotificationObserver> waiter( |
new FullscreenNotificationObserver()); |
- browser()->fullscreen_controller()->ToggleFullscreenModeForTab( |
- web_contents, true); |
+ browser()->fullscreen_controller()->EnterFullscreenModeForTab( |
+ web_contents, GURL()); |
waiter->Wait(); |
} |
ASSERT_FALSE(browser_view->immersive_mode_controller()->IsEnabled()); |