Title: [244982] trunk/Source/WebKit
Revision
244982
Author
dba...@webkit.org
Date
2019-05-06 15:28:19 -0700 (Mon, 06 May 2019)

Log Message

Fix the build after r244975
(https://bugs.webkit.org/show_bug.cgi?id=197474)

Actually make use of the Keyboard Event when building with USE(UIKIT_KEYBOARD_ADDITIONS)
and substitute -> for . since it's now passed by reference.

* WebProcess/WebCoreSupport/ios/WebEditorClientIOS.mm:
(WebKit::WebEditorClient::handleInputMethodKeydown):

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (244981 => 244982)


--- trunk/Source/WebKit/ChangeLog	2019-05-06 22:26:28 UTC (rev 244981)
+++ trunk/Source/WebKit/ChangeLog	2019-05-06 22:28:19 UTC (rev 244982)
@@ -1,3 +1,14 @@
+2019-05-06  Daniel Bates  <daba...@apple.com>
+
+        Fix the build after r244975
+        (https://bugs.webkit.org/show_bug.cgi?id=197474)
+
+        Actually make use of the Keyboard Event when building with USE(UIKIT_KEYBOARD_ADDITIONS)
+        and substitute -> for . since it's now passed by reference.
+
+        * WebProcess/WebCoreSupport/ios/WebEditorClientIOS.mm:
+        (WebKit::WebEditorClient::handleInputMethodKeydown):
+
 2019-05-06  Jer Noble  <jer.no...@apple.com>
 
         Adopt AVStreamDataParser.audiovisualMIMETypes

Modified: trunk/Source/WebKit/WebProcess/WebCoreSupport/ios/WebEditorClientIOS.mm (244981 => 244982)


--- trunk/Source/WebKit/WebProcess/WebCoreSupport/ios/WebEditorClientIOS.mm	2019-05-06 22:26:28 UTC (rev 244981)
+++ trunk/Source/WebKit/WebProcess/WebCoreSupport/ios/WebEditorClientIOS.mm	2019-05-06 22:28:19 UTC (rev 244982)
@@ -42,13 +42,14 @@
         event.setDefaultHandled();
 }
 
-void WebEditorClient::handleInputMethodKeydown(KeyboardEvent&)
+void WebEditorClient::handleInputMethodKeydown(KeyboardEvent& event)
 {
 #if USE(UIKIT_KEYBOARD_ADDITIONS)
-    if (event->handledByInputMethod())
-        event->setDefaultHandled();
+    if (event.handledByInputMethod())
+        event.setDefaultHandled();
 #else
     notImplemented();
+    UNUSED_PARAM(event);
 #endif
 }
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to