| Index: chrome/browser/ui/cocoa/presentation_mode_controller.mm
|
| diff --git a/chrome/browser/ui/cocoa/presentation_mode_controller.mm b/chrome/browser/ui/cocoa/presentation_mode_controller.mm
|
| index 30b897437b1e9d5b4bf0bedee85a3f501e259471..8b118397a84f02767090d7c46840e1fd002b70f0 100644
|
| --- a/chrome/browser/ui/cocoa/presentation_mode_controller.mm
|
| +++ b/chrome/browser/ui/cocoa/presentation_mode_controller.mm
|
| @@ -200,7 +200,7 @@ const CGFloat kFloatingBarVerticalOffset = 22;
|
| // Disable these notifications on Lion as they cause crashes.
|
| // TODO(rohitrao): Figure out what happens if a fullscreen window changes
|
| // monitors on Lion.
|
| - if (base::mac::IsOSSnowLeopardOrEarlier()) {
|
| + if (base::mac::IsOSSnowLeopard()) {
|
| [nc addObserver:self
|
| selector:@selector(windowDidChangeScreen:)
|
| name:NSWindowDidChangeScreenNotification
|
| @@ -421,7 +421,7 @@ const CGFloat kFloatingBarVerticalOffset = 22;
|
| }
|
|
|
| - (BOOL)shouldToggleMenuBar {
|
| - return base::mac::IsOSSnowLeopardOrEarlier() &&
|
| + return base::mac::IsOSSnowLeopard() &&
|
| [self isWindowOnPrimaryScreen] &&
|
| [[browserController_ window] isMainWindow];
|
| }
|
|
|