[webkit-changes] [WebKit/WebKit] f0a243: Use more smart pointers in CSS parsing code
Chris Dumez
noreply at github.com
Fri Sep 15 19:32:49 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: f0a2432b920fc757138bcc928624389e773ba047
https://github.com/WebKit/WebKit/commit/f0a2432b920fc757138bcc928624389e773ba047
Author: Chris Dumez <cdumez at apple.com>
Date: 2023-09-15 (Fri, 15 Sep 2023)
Changed paths:
M Source/WebCore/css/parser/CSSParserImpl.cpp
M Source/WebCore/css/parser/CSSPropertyParser.cpp
M Source/WebCore/css/parser/CSSPropertyParserHelpers.cpp
M Source/WebCore/css/parser/SizesAttributeParser.cpp
M Source/WebCore/css/parser/SizesAttributeParser.h
Log Message:
-----------
Use more smart pointers in CSS parsing code
https://bugs.webkit.org/show_bug.cgi?id=261578
Reviewed by Darin Adler and Brent Fulgham.
* Source/WebCore/css/parser/CSSParserImpl.cpp:
(WebCore::CSSParserImpl::consumeFontPaletteValuesRule):
* Source/WebCore/css/parser/CSSPropertyParser.cpp:
(WebCore::CSSPropertyParser::parseTypedCustomPropertyValue):
(WebCore::isValueIDPair):
(WebCore::isNumber):
(WebCore::isValueID):
* Source/WebCore/css/parser/CSSPropertyParserHelpers.cpp:
(WebCore::CSSPropertyParserHelpers::backgroundPositionFromThreeValues):
(WebCore::CSSPropertyParserHelpers::positionFromFourValues):
(WebCore::CSSPropertyParserHelpers::consumePositionCoordinates):
(WebCore::CSSPropertyParserHelpers::isGridTrackFixedSized):
* Source/WebCore/css/parser/SizesAttributeParser.cpp:
(WebCore::SizesAttributeParser::calculateLengthInPixels):
(WebCore::SizesAttributeParser::mediaConditionMatches):
(WebCore::SizesAttributeParser::parse):
(WebCore::SizesAttributeParser::effectiveSizeDefaultValue):
(WebCore::SizesAttributeParser::protectedDocument const):
* Source/WebCore/css/parser/SizesAttributeParser.h:
Canonical link: https://commits.webkit.org/268048@main
More information about the webkit-changes
mailing list