Index: third_party/WebKit/Source/core/paint/SVGShapePainter.cpp |
diff --git a/third_party/WebKit/Source/core/paint/SVGShapePainter.cpp b/third_party/WebKit/Source/core/paint/SVGShapePainter.cpp |
index 3862fc28700e64bd8bab6eaebfe854ee4222c936..540e0b3307770d8a24badf66655c347705819e2a 100644 |
--- a/third_party/WebKit/Source/core/paint/SVGShapePainter.cpp |
+++ b/third_party/WebKit/Source/core/paint/SVGShapePainter.cpp |
@@ -44,6 +44,7 @@ void SVGShapePainter::paint(const PaintInfo& paintInfo) |
{ |
if (paintInfo.phase != PaintPhaseForeground |
|| m_layoutSVGShape.style()->visibility() == HIDDEN |
+ || m_layoutSVGShape.style()->visibility() == COLLAPSE |
|| m_layoutSVGShape.isShapeEmpty()) |
return; |