Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 461e6c05f16d62178184cb0fd4070aa5148c6465
https://github.com/WebKit/WebKit/commit/461e6c05f16d62178184cb0fd4070aa5148c6465
Author: Rose <[email protected]>
Date: 2023-05-28 (Sun, 28 May 2023)
Changed paths:
M Source/WebCore/svg/SVGFEConvolveMatrixElement.cpp
Log Message:
-----------
[WebCore]:Assign the scalar by default to avoid potential function calls
https://bugs.webkit.org/show_bug.cgi?id=257421
Reviewed by Tim Nguyen.
We can avoid calls to functions like targetX and targetY if we assign
the scalar first and then do checking of attributes.
* Source/WebCore/svg/SVGFEConvolveMatrixElement.cpp:
(WebCore::SVGFEConvolveMatrixElement::attributeChanged): Fixed space typo.
(WebCore::SVGFEConvolveMatrixElement::createFilterEffect const): Refactored.
Canonical link: https://commits.webkit.org/264641@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes