Index: chrome/browser/ui/cocoa/base_bubble_controller.mm |
diff --git a/chrome/browser/ui/cocoa/base_bubble_controller.mm b/chrome/browser/ui/cocoa/base_bubble_controller.mm |
index 3d84e032e2da291255debc82894c7ea27f2cc2f0..c03d97fe9da2d110a76400ab2d1854e63fb6a28f 100644 |
--- a/chrome/browser/ui/cocoa/base_bubble_controller.mm |
+++ b/chrome/browser/ui/cocoa/base_bubble_controller.mm |
@@ -347,10 +347,6 @@ |
// simple, since -[NSWindow attachedSheet] returns nil while the sheet is still |
// closing. |
- (void)registerKeyStateEventTap { |
- // Parent key state sharing is only avaiable on 10.7+. |
- if (!base::mac::IsOSLionOrLater()) |
- return; |
- |
NSWindow* window = self.window; |
NSNotification* note = |
[NSNotification notificationWithName:NSWindowDidResignKeyNotification |