Index: third_party/WebKit/Source/core/paint/SVGRootPainter.cpp |
diff --git a/third_party/WebKit/Source/core/paint/SVGRootPainter.cpp b/third_party/WebKit/Source/core/paint/SVGRootPainter.cpp |
index 1cbdbbf6a63e995fa5c18f7810f49941055bbe8a..6f72fb04e8a9fdf13cf8ad91c4723267ed0b25db 100644 |
--- a/third_party/WebKit/Source/core/paint/SVGRootPainter.cpp |
+++ b/third_party/WebKit/Source/core/paint/SVGRootPainter.cpp |
@@ -39,10 +39,6 @@ void SVGRootPainter::paint(const PaintInfo& paintInfo, const LayoutPoint& paintO |
if (svg->hasEmptyViewBox()) |
return; |
- // Don't paint if we don't have kids, except if we have filters we should paint those. |
- if (!m_layoutSVGRoot.firstChild() && !SVGLayoutSupport::hasFilterResource(m_layoutSVGRoot)) |
- return; |
- |
PaintInfo paintInfoBeforeFiltering(paintInfo); |
Optional<ScopedPaintChunkProperties> transformPropertyScope; |