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 e60609d73bfcc3dc5def595227820249b314ae98..3b8a003b98272983b2e613f5ca33adfda70fcca3 100644 |
--- a/third_party/WebKit/Source/core/paint/SVGImagePainter.cpp |
+++ b/third_party/WebKit/Source/core/paint/SVGImagePainter.cpp |
@@ -21,7 +21,7 @@ namespace blink { |
void SVGImagePainter::paint(const PaintInfo& paintInfo) |
{ |
if (paintInfo.phase != PaintPhaseForeground |
- || m_layoutSVGImage.style()->visibility() != VISIBLE |
+ || m_layoutSVGImage.style()->visibility() != EVisibility::Visible |
|| !m_layoutSVGImage.imageResource()->hasImage()) |
return; |