[Chromium] Chromium Mac build fix after revision r127711
authorpeter@chromium.org <peter@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 6 Sep 2012 09:46:42 +0000 (09:46 +0000)
committerpeter@chromium.org <peter@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 6 Sep 2012 09:46:42 +0000 (09:46 +0000)
https://bugs.webkit.org/show_bug.cgi?id=95958

Unreviewed build fix.

This is a clear typo in the source file, so changing the function to
call locationModifiersFromWindowsKeyCode instead.

* src/mac/WebInputEventFactory.mm:
(WebKit::WebInputEventFactory::keyboardEvent):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@127714 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebKit/chromium/ChangeLog
Source/WebKit/chromium/src/mac/WebInputEventFactory.mm

index 2d1930f..c36ad9b 100644 (file)
@@ -1,3 +1,16 @@
+2012-09-06  Peter Beverloo  <peter@chromium.org>
+
+        [Chromium] Chromium Mac build fix after revision r127711
+        https://bugs.webkit.org/show_bug.cgi?id=95958
+
+        Unreviewed build fix.
+
+        This is a clear typo in the source file, so changing the function to
+        call locationModifiersFromWindowsKeyCode instead.
+
+        * src/mac/WebInputEventFactory.mm:
+        (WebKit::WebInputEventFactory::keyboardEvent):
+
 2012-09-06  Raymes Khoury  <raymes@chromium.org>
 
         Added modifiers to distinguish between left/right Shift/Ctrl/Alt in WebInputEvents
index dbcd993..b3a22fe 100644 (file)
@@ -608,7 +608,7 @@ WebKeyboardEvent WebInputEventFactory::keyboardEvent(NSEvent* event)
 
     int windowsKeyCode = windowsKeyCodeForKeyEvent(event);
     result.windowsKeyCode = WebKeyboardEvent::windowsKeyCodeWithoutLocation(windowsKeyCode);
-    result.modifiers |= WebKeyboardEvent::locationModifiersFromKeyCode(windowsKeyCode);
+    result.modifiers |= WebKeyboardEvent::locationModifiersFromWindowsKeyCode(windowsKeyCode);
     result.nativeKeyCode = [event keyCode];
 
     NSString* textStr = textFromEvent(event);