| Index: third_party/WebKit/Source/core/html/HTMLOptGroupElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLOptGroupElement.cpp b/third_party/WebKit/Source/core/html/HTMLOptGroupElement.cpp
|
| index 79806ce88199b8025c14243311e9eef602de3e3d..38c76b91e6c9fbd38f3f41a92382ae16ad4ea1c4 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLOptGroupElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLOptGroupElement.cpp
|
| @@ -119,7 +119,7 @@ void HTMLOptGroupElement::removedFrom(ContainerNode* insertionPoint)
|
| void HTMLOptGroupElement::updateNonComputedStyle()
|
| {
|
| m_style = originalStyleForLayoutObject();
|
| - if (layoutObject()) {
|
| + if (hasLayoutObject()) {
|
| if (HTMLSelectElement* select = ownerSelectElement())
|
| select->updateListOnLayoutObject();
|
| }
|
|
|