Index: Source/core/paint/SVGRootPainter.cpp |
diff --git a/Source/core/paint/SVGRootPainter.cpp b/Source/core/paint/SVGRootPainter.cpp |
index 2b3fef5de1a25fe83984628ca8a1583b688fe786..fd935508c90ad4c8a3c8c913af31f8a6f129f72b 100644 |
--- a/Source/core/paint/SVGRootPainter.cpp |
+++ b/Source/core/paint/SVGRootPainter.cpp |
@@ -36,7 +36,7 @@ void SVGRootPainter::paint(const PaintInfo& paintInfo, const LayoutPoint& paintO |
// Don't paint if we don't have kids, except if we have filters we should paint those. |
if (!m_renderSVGRoot.firstChild()) { |
- SVGResources* resources = SVGResourcesCache::cachedResourcesForRenderObject(&m_renderSVGRoot); |
+ SVGResources* resources = SVGResourcesCache::cachedResourcesForLayoutObject(&m_renderSVGRoot); |
if (!resources || !resources->filter()) |
return; |
} |