Index: third_party/WebKit/Source/core/dom/DocumentStatisticsCollector.cpp |
diff --git a/third_party/WebKit/Source/core/dom/DocumentStatisticsCollector.cpp b/third_party/WebKit/Source/core/dom/DocumentStatisticsCollector.cpp |
index d66c171c645b2f1a94c4279cb684f42691bcc644..2989cc4dc863423246a1f92869fd5a37ca144a81 100644 |
--- a/third_party/WebKit/Source/core/dom/DocumentStatisticsCollector.cpp |
+++ b/third_party/WebKit/Source/core/dom/DocumentStatisticsCollector.cpp |
@@ -64,7 +64,7 @@ bool isVisible(const Element& element) { |
if (!style) |
return false; |
return (style->display() != EDisplay::None && |
- style->visibility() != EVisibility::Hidden && style->opacity() != 0); |
+ style->visibility() != EVisibility::kHidden && style->opacity() != 0); |
} |
bool matchAttributes(const Element& element, const Vector<String>& words) { |