Prepare RenderLayer/RenderLayerBacking for RenderSVGModelObject support: Rename renderBoxLocation() -> rendererLocation() and extended it to support RenderSVGModelObject.
Created attachment 451011 [details] Patch, v1
Created attachment 451028 [details] Patch, v2
Forgot to include the Headers.cmake changes necessary to copy some new SVG headers to PrivateHeaders - patch v1 already included the necessary Xcode project changes, v2 also the CMake related changes.
Comment on attachment 451028 [details] Patch, v2 View in context: https://bugs.webkit.org/attachment.cgi?id=451028&action=review > Source/WebCore/Headers.cmake:1917 > + rendering/svg/SVGRenderSupport.h Why is this needed exactly?
(In reply to Rob Buis from comment #4) > Comment on attachment 451028 [details] > Patch, v2 > > View in context: > https://bugs.webkit.org/attachment.cgi?id=451028&action=review > > > Source/WebCore/Headers.cmake:1917 > > + rendering/svg/SVGRenderSupport.h > > Why is this needed exactly? rendererLocation() is inlined in RenderLayer.h, and therefore RenderLayer.h needs to include RenderBox.h. To generalize this to additionally support RenderSVGModelObject, RenderLayer.h needs to include RenderSVGModelObject.h to be able to perform the is<...>/downcast<...> type system. RenderLayer.h is utilized by projects outside of WebCore utilizing the WebCore PrivateHeaders/. Therefore RenderSVGModelObject.h and all its included need to be marked as 'private headers' in both the Xcode and CMake project files.
Committed r289210 (246895@trunk): <https://commits.webkit.org/246895@trunk>
<rdar://problem/88568285>