-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SVG] Add ShapeType to LegacyRenderSVGShape
https://bugs.webkit.org/show_bug.cgi?id=262724 rdar://116538506 Reviewed by Simon Fraser. This patch adds ShapeType to LegacyRenderSVGShape, which tells shape type of LegacyRenderSVGShape. This enum will be used for efficient dispatch / behavior change for approximate repainting bounding box computation. * Source/WebCore/platform/graphics/Path.cpp: (WebCore::Path::isSingleDataLine const): * Source/WebCore/platform/graphics/Path.h: * Source/WebCore/rendering/svg/legacy/LegacyRenderSVGEllipse.cpp: (WebCore::LegacyRenderSVGEllipse::updateShapeFromElement): * Source/WebCore/rendering/svg/legacy/LegacyRenderSVGPath.cpp: (WebCore::LegacyRenderSVGPath::updateShapeFromElement): * Source/WebCore/rendering/svg/legacy/LegacyRenderSVGRect.cpp: (WebCore::LegacyRenderSVGRect::updateShapeFromElement): * Source/WebCore/rendering/svg/legacy/LegacyRenderSVGShape.cpp: (WebCore::LegacyRenderSVGShape::layout): * Source/WebCore/rendering/svg/legacy/LegacyRenderSVGShape.h: (WebCore::LegacyRenderSVGShape::shapeType const): Canonical link: https://commits.webkit.org/268961@main
- Loading branch information
1 parent
6dc5092
commit d671418
Showing
7 changed files
with
40 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters