Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: b6936fdb0a53e2d299b2956ce9ecb70991bf680f
https://github.com/WebKit/WebKit/commit/b6936fdb0a53e2d299b2956ce9ecb70991bf680f
Author: Simon Fraser <[email protected]>
Date: 2024-08-31 (Sat, 31 Aug 2024)
Changed paths:
M Source/WebCore/rendering/MotionPath.cpp
M Source/WebCore/rendering/MotionPath.h
Log Message:
-----------
Minor MotionPath code cleanup
https://bugs.webkit.org/show_bug.cgi?id=278968
rdar://135079984
Reviewed by Tim Nguyen.
Various unctions in MotionPath take a `data` argument, but sometimes this is a
TransformOperationData and sometimes a MotionPathData. Fix by calling it a
`transformData` for the former case.
Also early return in `MotionPath::motionPathDataForRenderer()` in the no
containing block case.
* Source/WebCore/rendering/MotionPath.cpp:
(WebCore::MotionPath::motionPathDataForRenderer):
(WebCore::MotionPath::applyMotionPathTransform):
(WebCore::MotionPath::computePathForRay):
(WebCore::MotionPath::computePathForBox):
(WebCore::MotionPath::computePathForShape):
* Source/WebCore/rendering/MotionPath.h:
Canonical link: https://commits.webkit.org/283032@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes