| Index: chrome/browser/ui/cocoa/browser_window_cocoa.mm
|
| diff --git a/chrome/browser/ui/cocoa/browser_window_cocoa.mm b/chrome/browser/ui/cocoa/browser_window_cocoa.mm
|
| index 456a27e6c3071852cea1263368e4dbd66edd6fa3..5502efd4a814f062e9f56cd9e520aeba69610028 100644
|
| --- a/chrome/browser/ui/cocoa/browser_window_cocoa.mm
|
| +++ b/chrome/browser/ui/cocoa/browser_window_cocoa.mm
|
| @@ -361,7 +361,9 @@ void BrowserWindowCocoa::Restore() {
|
| void BrowserWindowCocoa::EnterFullscreen(const GURL& url,
|
| ExclusiveAccessBubbleType bubble_type,
|
| bool with_toolbar) {
|
| - if (browser_->fullscreen_controller()->IsWindowFullscreenForTabOrPending())
|
| + if (browser_->GetExclusiveAccessManager()
|
| + ->GetFullscreenController()
|
| + ->IsWindowFullscreenForTabOrPending())
|
| [controller_ enterWebContentFullscreenForURL:url bubbleType:bubble_type];
|
| else if (!url.is_empty())
|
| [controller_ enterExtensionFullscreenForURL:url bubbleType:bubble_type];
|
|
|