Index: third_party/WebKit/Source/core/paint/FilterPainter.cpp |
diff --git a/third_party/WebKit/Source/core/paint/FilterPainter.cpp b/third_party/WebKit/Source/core/paint/FilterPainter.cpp |
index eb90aaa825977b43446e3ba883fba906284f7a4d..6056ba3cba3d9d106c7c58df4817ff934baa1544 100644 |
--- a/third_party/WebKit/Source/core/paint/FilterPainter.cpp |
+++ b/third_party/WebKit/Source/core/paint/FilterPainter.cpp |
@@ -30,6 +30,9 @@ FilterPainter::FilterPainter(PaintLayer& layer, GraphicsContext& context, const |
if (!layer.paintsWithFilters()) |
return; |
+ if (m_layoutObject->isSVGRoot() && m_layoutObject->style()->hasFilter()) |
+ return; |
+ |
FilterEffect* lastEffect = layer.lastFilterEffect(); |
if (!lastEffect) |
return; |