Title: [236694] trunk/Source/WebCore
Revision
236694
Author
dba...@webkit.org
Date
2018-10-01 15:43:05 -0700 (Mon, 01 Oct 2018)

Log Message

Attempt to fix the watchOS build after <https://trac.webkit.org/changeset/236678>
(https://bugs.webkit.org/show_bug.cgi?id=189974)

Explicitly cast index to unsigned to make the operator[] call unambiguous.

* platform/ios/KeyEventIOS.mm:
(WebCore::PlatformKeyboardEvent::disambiguateKeyDownEvent):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (236693 => 236694)


--- trunk/Source/WebCore/ChangeLog	2018-10-01 21:53:36 UTC (rev 236693)
+++ trunk/Source/WebCore/ChangeLog	2018-10-01 22:43:05 UTC (rev 236694)
@@ -1,3 +1,13 @@
+2018-10-01  Daniel Bates  <daba...@apple.com>
+
+        Attempt to fix the watchOS build after <https://trac.webkit.org/changeset/236678>
+        (https://bugs.webkit.org/show_bug.cgi?id=189974)
+
+        Explicitly cast index to unsigned to make the operator[] call unambiguous.
+
+        * platform/ios/KeyEventIOS.mm:
+        (WebCore::PlatformKeyboardEvent::disambiguateKeyDownEvent):
+
 2018-10-01  Ryosuke Niwa  <rn...@webkit.org>
 
         ASAN failure in ~GCReachableRef()

Modified: trunk/Source/WebCore/platform/ios/KeyEventIOS.mm (236693 => 236694)


--- trunk/Source/WebCore/platform/ios/KeyEventIOS.mm	2018-10-01 21:53:36 UTC (rev 236693)
+++ trunk/Source/WebCore/platform/ios/KeyEventIOS.mm	2018-10-01 22:43:05 UTC (rev 236694)
@@ -305,7 +305,7 @@
     } else {
         m_keyIdentifier = String();
         m_windowsVirtualKeyCode = 0;
-        if (m_text.length() == 1 && isFunctionKey(m_text[0])) {
+        if (m_text.length() == 1 && isFunctionKey(m_text[0U])) {
             m_text = String();
             m_unmodifiedText = String();
         }
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to