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 f58f6f74c09c1e5470f4ad678cb90fadeee30afb..f23a85a88a1e0b6bee91882f71d7dbb186b08b60 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> propertyScope; |