Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(435)

Unified Diff: third_party/WebKit/Source/core/html/forms/InputType.cpp

Issue 2614883007: Change computed style enums to be prefixed with 'k'. (Closed)
Patch Set: Rebase on ToT. Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
}
}

Powered by Google App Engine
This is Rietveld 408576698