Index: third_party/WebKit/Source/core/paint/SVGImagePainter.cpp |
diff --git a/third_party/WebKit/Source/core/paint/SVGImagePainter.cpp b/third_party/WebKit/Source/core/paint/SVGImagePainter.cpp |
index 232c9f517e6e2f5f720a29e0a47cb21e042bc376..a6e151fd3b47e44163c6f1cb82833f9a623beab0 100644 |
--- a/third_party/WebKit/Source/core/paint/SVGImagePainter.cpp |
+++ b/third_party/WebKit/Source/core/paint/SVGImagePainter.cpp |
@@ -23,7 +23,7 @@ namespace blink { |
void SVGImagePainter::paint(const PaintInfo& paintInfo) |
{ |
if (paintInfo.phase != PaintPhaseForeground |
- || m_layoutSVGImage.style()->visibility() == HIDDEN |
+ || m_layoutSVGImage.style()->visibility() != VISIBLE |
|| !m_layoutSVGImage.imageResource()->hasImage()) |
return; |