Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: ac2c500b50e867b945318432177144b18f730916
https://github.com/WebKit/WebKit/commit/ac2c500b50e867b945318432177144b18f730916
Author: Ahmad Saleem <[email protected]>
Date: 2026-06-27 (Sat, 27 Jun 2026)
Changed paths:
M Source/WebCore/rendering/svg/legacy/LegacyRenderSVGRoot.cpp
Log Message:
-----------
[LegacySVG] Remove no-op const_cast in LegacyRenderSVGRoot::willBeDestroyed()
https://bugs.webkit.org/show_bug.cgi?id=317817
rdar://180585949
Reviewed by Simon Fraser.
willBeDestroyed() is a non-const member function, so *this is already a
non-const LegacyRenderSVGRoot&. The const_cast around it in the call to
RenderBlock::removePercentHeightDescendant() (which takes a non-const
RenderBox&) is a no-op. Remove it. No behavior change.
* Source/WebCore/rendering/svg/legacy/LegacyRenderSVGRoot.cpp:
(WebCore::LegacyRenderSVGRoot::willBeDestroyed):
Canonical link: https://commits.webkit.org/315968@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications