Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 678a72bcb8503b8d9e493d8d3cf38376f033b5bf
https://github.com/WebKit/WebKit/commit/678a72bcb8503b8d9e493d8d3cf38376f033b5bf
Author: Ahmad Saleem <[email protected]>
Date: 2026-06-25 (Thu, 25 Jun 2026)
Changed paths:
M Source/WebCore/rendering/svg/legacy/SVGResourcesCycleSolver.cpp
Log Message:
-----------
[LegacySVG] Rename inner loop variable in SVGResourcesCycleSolver
https://bugs.webkit.org/show_bug.cgi?id=317816
rdar://180585525
Reviewed by Taher Ali.
In SVGResourcesCycleSolver::resourceContainsCycles(), the inner range-based
for loop declared a variable named `resource`, shadowing the function's
`resource` parameter of the same type. Rename the loop variable to
`childResource` to remove the shadowing. No behavior change.
*
Source/WebCore/rendering/svg/legacy/SVGResourcesCycleSolver.cpp:
(WebCore::SVGResourcesCycleSolver::resourceContainsCycles):
Canonical link:
https://flagged.apple.com:443/proxy?t2=DU5o9S5Cj8&o=aHR0cHM6Ly9jb21taXRzLndlYmtpdC5vcmcvMzE1ODI2QG1haW4=&emid=fb4e5442-e5d0-411c-a144-409d648907e7&c=11
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications