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