| Index: Source/core/html/HTMLOptionElement.cpp
|
| diff --git a/Source/core/html/HTMLOptionElement.cpp b/Source/core/html/HTMLOptionElement.cpp
|
| index 71a8ffc5eb910c6048091b979db423f9d6d23583..b28a5c2f7dea5925afc76589d4bcf375c5f7e614 100644
|
| --- a/Source/core/html/HTMLOptionElement.cpp
|
| +++ b/Source/core/html/HTMLOptionElement.cpp
|
| @@ -87,9 +87,9 @@ PassRefPtr<HTMLOptionElement> HTMLOptionElement::createForJSConstructor(Document
|
| return element.release();
|
| }
|
|
|
| -void HTMLOptionElement::attach()
|
| +void HTMLOptionElement::attach(const AttachContext& context)
|
| {
|
| - HTMLElement::attach();
|
| + HTMLElement::attach(context);
|
| // If after attaching nothing called styleForRenderer() on this node we
|
| // manually cache the value. This happens if our parent doesn't have a
|
| // renderer like <optgroup> or if it doesn't allow children like <select>.
|
| @@ -97,10 +97,10 @@ void HTMLOptionElement::attach()
|
| updateNonRenderStyle();
|
| }
|
|
|
| -void HTMLOptionElement::detach()
|
| +void HTMLOptionElement::detach(const AttachContext& context)
|
| {
|
| m_style.clear();
|
| - HTMLElement::detach();
|
| + HTMLElement::detach(context);
|
| }
|
|
|
| bool HTMLOptionElement::supportsFocus() const
|
|
|