When LAYER_BASED_SVG_ENGINE is disabled, RenderSVGShape is used in SVGRenderSupport.cpp and the class is defined LAYER_BASED_SVG_ENGINE enabled. Also an inline error occurs: Source\WebCore\rendering\svg\legacy\LegacyRenderSVGShape.h(102,17): error : inline function 'WebCore::LegacyRenderSVGShape::hasNonScalingStroke' is not defined [-Werror,-Wundefined-inline] To solve the build break, it needs to add some conditional codes and include LegacyRenderSVGShapeInlines.h in SVGRenderSupport.cpp.
Pull request: https://github.com/WebKit/WebKit/pull/19272
Committed 269511@main (b2f96217de84): <https://commits.webkit.org/269511@main> Reviewed commits have been landed. Closing PR #19272 and removing active labels.
<rdar://problem/117195926>