Index: third_party/WebKit/Source/core/html/HTMLAreaElement.cpp |
diff --git a/third_party/WebKit/Source/core/html/HTMLAreaElement.cpp b/third_party/WebKit/Source/core/html/HTMLAreaElement.cpp |
index 7e72fd1788e72739e3c02b261f1c7a7dc4b653bb..bbc79190f73b7c0905a828407a6be5aaec08d4ba 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLAreaElement.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLAreaElement.cpp |
@@ -199,7 +199,7 @@ bool HTMLAreaElement::isMouseFocusable() const |
bool HTMLAreaElement::layoutObjectIsFocusable() const |
{ |
HTMLImageElement* image = imageElement(); |
- if (!image || !image->layoutObject() || image->layoutObject()->style()->visibility() != VISIBLE) |
+ if (!image || !image->layoutObject() || image->layoutObject()->style()->visibility() != EVisibility::Visible) |
return false; |
return supportsFocus() && Element::tabIndex() >= 0; |