[webkit-changes] [WebKit/WebKit] f34362: Remove unused code from `FloatPolygon.cpp|h`
Ahmad Saleem
noreply at github.com
Tue Jan 7 08:57:32 PST 2025
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: f34362289cfc420ab1d8201c88a79c2d6d26128c
https://github.com/WebKit/WebKit/commit/f34362289cfc420ab1d8201c88a79c2d6d26128c
Author: Ahmad Saleem <ahmad.saleem792+github at gmail.com>
Date: 2025-01-07 (Tue, 07 Jan 2025)
Changed paths:
M Source/WebCore/platform/graphics/FloatPolygon.cpp
M Source/WebCore/platform/graphics/FloatPolygon.h
M Source/WebCore/rendering/shapes/LayoutShape.cpp
M Source/WebCore/rendering/shapes/PolygonLayoutShape.h
Log Message:
-----------
Remove unused code from `FloatPolygon.cpp|h`
https://bugs.webkit.org/show_bug.cgi?id=285376
rdar://142341006
Reviewed by Simon Fraser.
This patch is just to clean-up code without any call sites.
* Source/WebCore/platform/graphics/FloatPolygon.cpp:
(WebCore::FloatPolygon::FloatPolygon):
(WebCore::isPointOnLineSegment): Deleted.
(WebCore::leftSide): Deleted.
(WebCore::FloatPolygon::containsEvenOdd const): Deleted.
(WebCore::FloatPolygon::containsNonZero const): Deleted.
(WebCore::FloatPolygon::contains const): Deleted.
* Source/WebCore/platform/graphics/FloatPolygon.h:
(WebCore::FloatPolygon::fillRule const): Deleted.
* Source/WebCore/rendering/shapes/PolygonLayoutShape.h:
* Source/WebCore/rendering/shapes/LayoutShape.cpp:
(createPolygonShape):
(createShape):
Canonical link: https://commits.webkit.org/288535@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list