| Index: Source/core/html/HTMLOptionElement.cpp
|
| diff --git a/Source/core/html/HTMLOptionElement.cpp b/Source/core/html/HTMLOptionElement.cpp
|
| index 15a98821642b5d266b09a1b0be9b2c0142b13d51..6f4e4b8afe90d46917c34f41887c8db89cca1163 100644
|
| --- a/Source/core/html/HTMLOptionElement.cpp
|
| +++ b/Source/core/html/HTMLOptionElement.cpp
|
| @@ -407,7 +407,7 @@ bool HTMLOptionElement::isDisplayNone() const
|
| Element* parent = parentElement();
|
| ASSERT(parent);
|
| if (isHTMLOptGroupElement(*parent)) {
|
| - LayoutStyle* parentStyle = parent->layoutStyle() ? parent->layoutStyle() : parent->computedStyle();
|
| + const LayoutStyle* parentStyle = parent->layoutStyle() ? parent->layoutStyle() : parent->computedStyle();
|
| return !parentStyle || parentStyle->display() == NONE;
|
| }
|
| }
|
|
|