| Index: ui/events/cocoa/cocoa_event_utils.mm
|
| diff --git a/ui/events/cocoa/cocoa_event_utils.mm b/ui/events/cocoa/cocoa_event_utils.mm
|
| index dd3984522ba7914b7306c3f9a458d230927f5972..ade083c0eb24547d7f7d1f8b6ad2f82c0ed0f1b8 100644
|
| --- a/ui/events/cocoa/cocoa_event_utils.mm
|
| +++ b/ui/events/cocoa/cocoa_event_utils.mm
|
| @@ -34,11 +34,6 @@ bool IsMiddleButtonEvent(NSEvent* event) {
|
|
|
| namespace ui {
|
|
|
| -int EventFlagsFromNative(const base::NativeEvent& event) {
|
| - NSUInteger modifiers = [event modifierFlags];
|
| - return EventFlagsFromNSEventWithModifiers(event, modifiers);
|
| -}
|
| -
|
| int EventFlagsFromModifiers(NSUInteger modifiers) {
|
| int flags = 0;
|
| flags |= (modifiers & NSAlphaShiftKeyMask) ? ui::EF_CAPS_LOCK_DOWN : 0;
|
|
|