Index: third_party/WebKit/Source/core/html/forms/InputType.cpp |
diff --git a/third_party/WebKit/Source/core/html/forms/InputType.cpp b/third_party/WebKit/Source/core/html/forms/InputType.cpp |
index f508efe4feab97b3cc368bc668500fcec600760d..d336e716fb6519868e9638d2509d66134fae1c7e 100644 |
--- a/third_party/WebKit/Source/core/html/forms/InputType.cpp |
+++ b/third_party/WebKit/Source/core/html/forms/InputType.cpp |
@@ -553,7 +553,7 @@ void InputType::warnIfValueIsInvalidAndElementIsVisible( |
const String& value) const { |
// Don't warn if the value is set in Modernizr. |
const ComputedStyle* style = element().computedStyle(); |
- if (style && style->visibility() != EVisibility::Hidden) |
+ if (style && style->visibility() != EVisibility::kHidden) |
warnIfValueIsInvalid(value); |
} |
@@ -862,7 +862,7 @@ void InputType::stepUpFromLayoutObject(int n) { |
void InputType::countUsageIfVisible(UseCounter::Feature feature) const { |
if (const ComputedStyle* style = element().computedStyle()) { |
- if (style->visibility() != EVisibility::Hidden) |
+ if (style->visibility() != EVisibility::kHidden) |
UseCounter::count(element().document(), feature); |
} |
} |