Title: [248660] trunk/Source/WebCore
- Revision
- 248660
- Author
- wei...@apple.com
- Date
- 2019-08-13 20:17:39 -0700 (Tue, 13 Aug 2019)
Log Message
Fix the WPE build.
* platform/libwpe/PlatformKeyboardEventLibWPE.cpp:
(WebCore::PlatformKeyboardEvent::keyValueForWPEKeyCode):
(WebCore::PlatformKeyboardEvent::singleCharacterString):
Update for rename from StringBuilder::append(UChar32) to StringBuilder::appendCharacter(UChar32).
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (248659 => 248660)
--- trunk/Source/WebCore/ChangeLog 2019-08-14 03:15:02 UTC (rev 248659)
+++ trunk/Source/WebCore/ChangeLog 2019-08-14 03:17:39 UTC (rev 248660)
@@ -1,5 +1,14 @@
2019-08-13 Sam Weinig <wei...@apple.com>
+ Fix the WPE build.
+
+ * platform/libwpe/PlatformKeyboardEventLibWPE.cpp:
+ (WebCore::PlatformKeyboardEvent::keyValueForWPEKeyCode):
+ (WebCore::PlatformKeyboardEvent::singleCharacterString):
+ Update for rename from StringBuilder::append(UChar32) to StringBuilder::appendCharacter(UChar32).
+
+2019-08-13 Sam Weinig <wei...@apple.com>
+
Rename StringBuilder::append(UChar32) to StringBuilder::appendCharacter(UChar32) to avoid accidental change in behavior when replacing append with flexibleAppend
https://bugs.webkit.org/show_bug.cgi?id=200675
Modified: trunk/Source/WebCore/platform/libwpe/PlatformKeyboardEventLibWPE.cpp (248659 => 248660)
--- trunk/Source/WebCore/platform/libwpe/PlatformKeyboardEventLibWPE.cpp 2019-08-14 03:15:02 UTC (rev 248659)
+++ trunk/Source/WebCore/platform/libwpe/PlatformKeyboardEventLibWPE.cpp 2019-08-14 03:17:39 UTC (rev 248660)
@@ -432,7 +432,7 @@
UChar32 unicodeCharacter = wpe_key_code_to_unicode(keyCode);
if (unicodeCharacter && U_IS_UNICODE_CHAR(unicodeCharacter)) {
StringBuilder builder;
- builder.append(unicodeCharacter);
+ builder.appendCharacter(unicodeCharacter);
return builder.toString();
}
@@ -1309,7 +1309,7 @@
UChar32 unicodeCharacter = wpe_key_code_to_unicode(val);
if (unicodeCharacter && U_IS_UNICODE_CHAR(unicodeCharacter)) {
StringBuilder builder;
- builder.append(unicodeCharacter);
+ builder.appendCharacter(unicodeCharacter);
return builder.toString();
}
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes