Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 3cac44f05d6632ce4aaa4db59666a251bfffb0fb
https://github.com/WebKit/WebKit/commit/3cac44f05d6632ce4aaa4db59666a251bfffb0fb
Author: Anne van Kesteren <[email protected]>
Date: 2023-05-30 (Tue, 30 May 2023)
Changed paths:
M Source/JavaScriptCore/yarr/YarrPattern.cpp
M Source/JavaScriptCore/yarr/YarrPattern.h
M Source/WebCore/PAL/pal/text/TextCodec.cpp
M Source/WebCore/css/parser/CSSTokenizer.cpp
Log Message:
-----------
Use UCHAR_MAX_VALUE more
https://bugs.webkit.org/show_bug.cgi?id=257470
rdar://109994606
Reviewed by Darin Adler.
This is slightly clearer, although it does come at the cost of an
additional import.
Follow-up to https://bugs.webkit.org/show_bug.cgi?id=254984 where I
should have searched for this constant case-insensitively.
* Source/JavaScriptCore/yarr/YarrPattern.cpp:
(JSC::Yarr::CharacterClassConstructor::appendInverted):
(JSC::Yarr::CharacterClassConstructor::coalesceTables):
(JSC::Yarr::anycharCreate):
* Source/JavaScriptCore/yarr/YarrPattern.h:
* Source/WebCore/PAL/pal/text/TextCodec.cpp:
(PAL::TextCodec::getUnencodableReplacement):
* Source/WebCore/css/parser/CSSTokenizer.cpp:
(WebCore::CSSTokenizer::consumeEscape):
Canonical link: https://commits.webkit.org/264687@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes