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 e8c3ec8f013cf9d863a8e6722f9a3de44b03accd..b81b5210bc167a7e16ddc4c4fc189e12d0781cbb 100644 |
--- a/chrome/browser/ui/cocoa/presentation_mode_controller.mm |
+++ b/chrome/browser/ui/cocoa/presentation_mode_controller.mm |
@@ -260,21 +260,6 @@ OSStatus MenuBarRevealHandler(EventHandlerCallRef handler, |
NSNotificationCenter* nc = [NSNotificationCenter defaultCenter]; |
NSWindow* window = [browserController_ window]; |
- // 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::IsOSSnowLeopard()) { |
- [nc addObserver:self |
- selector:@selector(windowDidChangeScreen:) |
- name:NSWindowDidChangeScreenNotification |
- object:window]; |
- |
- [nc addObserver:self |
- selector:@selector(windowDidMove:) |
- name:NSWindowDidMoveNotification |
- object:window]; |
- } |
- |
[nc addObserver:self |
selector:@selector(windowDidBecomeMain:) |
name:NSWindowDidBecomeMainNotification |