| Index: Source/core/html/HTMLOptGroupElement.cpp
|
| diff --git a/Source/core/html/HTMLOptGroupElement.cpp b/Source/core/html/HTMLOptGroupElement.cpp
|
| index e7823e2a313eca980bb9a817333e4c19d098986a..75880615cb27e2cfccf60371dfb12db7fa77d8da 100644
|
| --- a/Source/core/html/HTMLOptGroupElement.cpp
|
| +++ b/Source/core/html/HTMLOptGroupElement.cpp
|
| @@ -89,9 +89,9 @@ void HTMLOptGroupElement::recalcSelectOptions()
|
| toHTMLSelectElement(select)->setRecalcListItems();
|
| }
|
|
|
| -void HTMLOptGroupElement::attach(const AttachContext& context)
|
| +void HTMLOptGroupElement::createRenderTree(const AttachContext& context)
|
| {
|
| - HTMLElement::attach(context);
|
| + HTMLElement::createRenderTree(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>.
|
| @@ -99,10 +99,10 @@ void HTMLOptGroupElement::attach(const AttachContext& context)
|
| updateNonRenderStyle();
|
| }
|
|
|
| -void HTMLOptGroupElement::detach(const AttachContext& context)
|
| +void HTMLOptGroupElement::destroyRenderTree(const AttachContext& context)
|
| {
|
| m_style.clear();
|
| - HTMLElement::detach(context);
|
| + HTMLElement::destroyRenderTree(context);
|
| }
|
|
|
| void HTMLOptGroupElement::updateNonRenderStyle()
|
|
|