| 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() {
|
|
|