| 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 6c8e8420a37d57dcfaea0030fa9d2a20b106a2be..3f85a53534bdc75a37565030ea4201e165bcdc38 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLOptionElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLOptionElement.cpp
|
| @@ -94,7 +94,7 @@ void HTMLOptionElement::attach(const AttachContext& context)
|
| if (context.resolvedStyle) {
|
| ASSERT(!m_style || m_style == context.resolvedStyle);
|
| m_style = context.resolvedStyle;
|
| - } else {
|
| + } else if (parentComputedStyle()) {
|
| updateNonComputedStyle();
|
| optionContext.resolvedStyle = m_style.get();
|
| }
|
|
|