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

Unified Diff: third_party/WebKit/Source/core/html/HTMLOptionElement.cpp

Issue 2670643004: Rename EDisplay values with k prefix. (Closed)
Patch Set: Rebase Created 3 years, 9 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/HTMLOptionElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLOptionElement.cpp b/third_party/WebKit/Source/core/html/HTMLOptionElement.cpp
index a169c3f552f71675df3f08b5e5bbd36b75930bcd..10cb65bea1ed1a065cba2a7f1703cd0f7021fccf 100644
--- a/third_party/WebKit/Source/core/html/HTMLOptionElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLOptionElement.cpp
@@ -417,7 +417,7 @@ bool HTMLOptionElement::isDisplayNone() const {
if (!style)
return false;
- if (style->display() != EDisplay::None) {
+ if (style->display() != EDisplay::kNone) {
// We need to check the parent's display property. Parent's
// display:none doesn't override children's display properties in
// ComputedStyle.
@@ -427,10 +427,10 @@ bool HTMLOptionElement::isDisplayNone() const {
const ComputedStyle* parentStyle = parent->computedStyle()
? parent->computedStyle()
: parent->ensureComputedStyle();
- return !parentStyle || parentStyle->display() == EDisplay::None;
+ return !parentStyle || parentStyle->display() == EDisplay::kNone;
}
}
- return style->display() == EDisplay::None;
+ return style->display() == EDisplay::kNone;
}
String HTMLOptionElement::innerText() {
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLImageFallbackHelper.cpp ('k') | third_party/WebKit/Source/core/html/HTMLRTElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698