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..380e8d89cf7fc3b3c22cbdf48cebb8fb0b379a9f 100644 |
--- a/third_party/WebKit/Source/core/paint/SVGShapePainter.cpp |
+++ b/third_party/WebKit/Source/core/paint/SVGShapePainter.cpp |
@@ -43,7 +43,7 @@ static SkPath::FillType fillRuleFromStyle(const PaintInfo& paintInfo, const SVGC |
void SVGShapePainter::paint(const PaintInfo& paintInfo) |
{ |
if (paintInfo.phase != PaintPhaseForeground |
- || m_layoutSVGShape.style()->visibility() == HIDDEN |
+ || m_layoutSVGShape.style()->visibility() != VISIBLE |
|| m_layoutSVGShape.isShapeEmpty()) |
return; |