[webkit-changes] [WebKit/WebKit] 3cac44: Use UCHAR_MAX_VALUE more
Anne van Kesteren
noreply at github.com
Tue May 30 11:42:35 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 3cac44f05d6632ce4aaa4db59666a251bfffb0fb
https://github.com/WebKit/WebKit/commit/3cac44f05d6632ce4aaa4db59666a251bfffb0fb
Author: Anne van Kesteren <annevk at annevk.nl>
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
More information about the webkit-changes
mailing list