Index: third_party/WebKit/Source/modules/plugins/PluginOcclusionSupport.cpp |
diff --git a/third_party/WebKit/Source/modules/plugins/PluginOcclusionSupport.cpp b/third_party/WebKit/Source/modules/plugins/PluginOcclusionSupport.cpp |
index adf3a3ef9a027ccabaa15dd76a2806985f2fc2fc..34076a3bded73576ab3523e6fcb6f3e36eb1d2f5 100644 |
--- a/third_party/WebKit/Source/modules/plugins/PluginOcclusionSupport.cpp |
+++ b/third_party/WebKit/Source/modules/plugins/PluginOcclusionSupport.cpp |
@@ -115,7 +115,7 @@ static bool iframeIsAbovePlugin(const Vector<const LayoutObject*>& iframeZstack, |
static bool intersectsRect(const LayoutObject* renderer, const IntRect& rect) |
{ |
return renderer->absoluteBoundingBoxRectIgnoringTransforms().intersects(rect) |
- && (!renderer->style() || renderer->style()->visibility() == VISIBLE); |
+ && (!renderer->style() || renderer->style()->visibility() == EVisibility::Visible); |
} |
static void addToOcclusions(const LayoutBox* renderer, Vector<IntRect>& occlusions) |