Index: chrome/browser/cocoa/chrome_event_processing_window.mm |
=================================================================== |
--- chrome/browser/cocoa/chrome_event_processing_window.mm (revision 29647) |
+++ chrome/browser/cocoa/chrome_event_processing_window.mm (working copy) |
@@ -11,7 +11,7 @@ |
#import "chrome/browser/renderer_host/render_widget_host_view_mac.h" |
#include "chrome/browser/global_keyboard_shortcuts_mac.h" |
-typedef int (*KeyToCommandMapper)(bool, bool, bool, bool, int); |
+typedef int (*KeyToCommandMapper)(bool, bool, bool, int); |
@implementation ChromeEventProcessingWindow |
@@ -22,10 +22,9 @@ |
const bool cmdKey = modifers & NSCommandKeyMask; |
const bool shiftKey = modifers & NSShiftKeyMask; |
const bool cntrlKey = modifers & NSControlKeyMask; |
- const bool optKey = modifers & NSAlternateKeyMask; |
const int keyCode = [event keyCode]; |
- int cmdNum = commandForKeyboardShortcut(cmdKey, shiftKey, cntrlKey, optKey, |
+ int cmdNum = commandForKeyboardShortcut(cmdKey, shiftKey, cntrlKey, |
keyCode); |
BrowserWindowController* controller = |