Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 5086d4e7339386e9754a971718430d57c4f0280b
https://github.com/WebKit/WebKit/commit/5086d4e7339386e9754a971718430d57c4f0280b
Author: Ahmad Saleem <[email protected]>
Date: 2026-05-14 (Thu, 14 May 2026)
Changed paths:
M Source/WebCore/svg/SVGFEConvolveMatrixElement.cpp
Log Message:
-----------
Use for-range loop in SVGFEConvolveMatrixElement::createFilterEffect
https://bugs.webkit.org/show_bug.cgi?id=314826
rdar://177083269
Reviewed by Brent Fulgham.
The default-divisor loop re-evaluated kernelMatrix.length() and indexed
kernelMatrix.items()[i] on every iteration. Switch to a for-range loop
over items() so the bounds and backing vector are resolved once.
* Source/WebCore/svg/SVGFEConvolveMatrixElement.cpp:
(WebCore::SVGFEConvolveMatrixElement::createFilterEffect const):
Canonical link: https://commits.webkit.org/313272@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications