Index: chrome/browser/ui/cocoa/applescript/window_applescript.mm |
diff --git a/chrome/browser/ui/cocoa/applescript/window_applescript.mm b/chrome/browser/ui/cocoa/applescript/window_applescript.mm |
index 022b334f0c02811d688a7cebfabfb86328076479..e80100ce876fe0329cc57e34859c6b3b812e8dbf 100644 |
--- a/chrome/browser/ui/cocoa/applescript/window_applescript.mm |
+++ b/chrome/browser/ui/cocoa/applescript/window_applescript.mm |
@@ -261,7 +261,9 @@ |
- (NSNumber*)presenting { |
BOOL presentingValue = browser_->window() && |
browser_->window()->IsFullscreen() && |
- !browser_->window()->IsFullscreenWithToolbar(); |
+ !browser_->window() |
+ ->GetExclusiveAccessContext() |
+ ->IsFullscreenWithToolbar(); |
return [NSNumber numberWithBool:presentingValue]; |
} |