[webkit-changes] [WebKit/WebKit] 97b4d9: Reduce use of downcast<>() in rendering/style code
Chris Dumez
noreply at github.com
Sat Dec 23 14:56:19 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 97b4d91001b8f19922b9c80bdf8000305d1996aa
https://github.com/WebKit/WebKit/commit/97b4d91001b8f19922b9c80bdf8000305d1996aa
Author: Chris Dumez <cdumez at apple.com>
Date: 2023-12-23 (Sat, 23 Dec 2023)
Changed paths:
M Source/WebCore/rendering/style/BasicShapes.cpp
M Source/WebCore/rendering/style/ContentData.h
M Source/WebCore/rendering/style/GridPositionsResolver.cpp
M Source/WebCore/rendering/style/StyleCachedImage.cpp
M Source/WebCore/rendering/style/StyleCanvasImage.cpp
M Source/WebCore/rendering/style/StyleCrossfadeImage.cpp
M Source/WebCore/rendering/style/StyleCursorImage.cpp
M Source/WebCore/rendering/style/StyleCursorImage.h
M Source/WebCore/rendering/style/StyleFilterImage.cpp
M Source/WebCore/rendering/style/StyleGradientImage.cpp
M Source/WebCore/rendering/style/StyleImageSet.cpp
M Source/WebCore/rendering/style/StyleMultiImage.cpp
M Source/WebCore/rendering/style/StyleNamedImage.cpp
M Source/WebCore/rendering/style/StylePaintImage.cpp
Log Message:
-----------
Reduce use of downcast<>() in rendering/style code
https://bugs.webkit.org/show_bug.cgi?id=266830
Reviewed by Tim Nguyen.
* Source/WebCore/rendering/style/BasicShapes.cpp:
(WebCore::BasicShapeCircle::operator== const):
(WebCore::BasicShapeCircle::canBlend const):
(WebCore::BasicShapeEllipse::operator== const):
(WebCore::BasicShapeEllipse::canBlend const):
(WebCore::BasicShapeRect::operator== const):
(WebCore::BasicShapeXywh::operator== const):
(WebCore::BasicShapePolygon::operator== const):
(WebCore::BasicShapePolygon::canBlend const):
(WebCore::BasicShapePath::operator== const):
(WebCore::BasicShapePath::canBlend const):
(WebCore::BasicShapeInset::operator== const):
* Source/WebCore/rendering/style/ContentData.h:
(WebCore::operator==):
* Source/WebCore/rendering/style/GridPositionsResolver.cpp:
(WebCore::adjustGridPositionsFromStyle):
* Source/WebCore/rendering/style/RenderStyle.cpp:
(WebCore::RenderStyle::setContent):
* Source/WebCore/rendering/style/StyleCachedImage.cpp:
(WebCore::StyleCachedImage::operator== const):
* Source/WebCore/rendering/style/StyleCanvasImage.cpp:
(WebCore::StyleCanvasImage::operator== const):
* Source/WebCore/rendering/style/StyleCrossfadeImage.cpp:
(WebCore::StyleCrossfadeImage::operator== const):
* Source/WebCore/rendering/style/StyleCursorImage.cpp:
(WebCore::StyleCursorImage::operator== const):
(WebCore::StyleCursorImage::selectBestFitImage):
(WebCore::StyleCursorImage::updateCursorElement):
* Source/WebCore/rendering/style/StyleCursorImage.h:
* Source/WebCore/rendering/style/StyleFilterImage.cpp:
(WebCore::StyleFilterImage::operator== const):
(WebCore::StyleFilterImage::load):
* Source/WebCore/rendering/style/StyleGradientImage.cpp:
(WebCore::StyleGradientImage::operator== const):
* Source/WebCore/rendering/style/StyleImageSet.cpp:
(WebCore::StyleImageSet::operator== const):
* Source/WebCore/rendering/style/StyleMultiImage.cpp:
(WebCore::StyleMultiImage::load):
* Source/WebCore/rendering/style/StyleNamedImage.cpp:
(WebCore::StyleNamedImage::operator== const):
* Source/WebCore/rendering/style/StylePaintImage.cpp:
(WebCore::StylePaintImage::operator== const):
Canonical link: https://commits.webkit.org/272481@main
More information about the webkit-changes
mailing list