Index: chrome/browser/ui/cocoa/exclusive_access_bubble_window_controller_unittest.mm |
diff --git a/chrome/browser/ui/cocoa/exclusive_access_bubble_window_controller_unittest.mm b/chrome/browser/ui/cocoa/exclusive_access_bubble_window_controller_unittest.mm |
index 1d062ef73ae4337ec945f2cd58446ee0bb2fbfb6..3dd30877dc19423019eaf8f958d70f8df26fbaf7 100644 |
--- a/chrome/browser/ui/cocoa/exclusive_access_bubble_window_controller_unittest.mm |
+++ b/chrome/browser/ui/cocoa/exclusive_access_bubble_window_controller_unittest.mm |
@@ -93,7 +93,7 @@ TEST_F(ExclusiveAccessBubbleWindowControllerTest, |
content::WindowedNotificationObserver fullscreen_observer( |
chrome::NOTIFICATION_FULLSCREEN_CHANGED, |
content::NotificationService::AllSources()); |
- browser()->ToggleFullscreenModeForTab(fullscreen_tab, true); |
+ browser()->EnterFullscreenModeForTab(fullscreen_tab, GURL()); |
fullscreen_observer.Wait(); |
ASSERT_TRUE(browser()->window()->IsFullscreen()); |
} |