In tre ticket https://bugs.webkit.org/show_bug.cgi?id=253614 , WebKit introduced RenderLayer::shouldPaintUsingCompositeCopy(), but this function is inside the preprocessor guard ENABLE(CSS_COMPOSITING) We have to add the same gurad not to call the function when CSS_COMPOSITING is not enabled. The function is called in RenderHTMLCanvas.cpp and RenderLayerBacking.cpp
https://github.com/WebKit/WebKit/pull/11372
Committed 261514@main (79fa85a5f852): <https://commits.webkit.org/261514@main> Reviewed commits have been landed. Closing PR #11372 and removing active labels.
<rdar://problem/106563355>