Don't use renderer for Resources in SVGRenderBase::prepareToRenderSVGContent. Some Renderer don't provide correct boundingBoxes or don't inherit from SVGRenderBase. This can cause an ASSERT in RenderObject.
Created attachment 45931 [details] Don't use Renderer for SVGResource calculations Don't use Renderer for SVGResource calculations.
style-queue ran check-webkit-style on attachment 45931 [details] without any errors.
Comment on attachment 45931 [details] Don't use Renderer for SVGResource calculations Postponed, as discussed with Dirk. Let's fix RenderSVGInline, and pass around renderers.
The bounding box / repaint rect problems are fixed. Closing this bug now.