Index: Source/core/html/HTMLOptionElement.cpp |
diff --git a/Source/core/html/HTMLOptionElement.cpp b/Source/core/html/HTMLOptionElement.cpp |
index 54940a9d2af44b0c896db9175862b72c12a58155..d549848b91247cb22cc53c634d5a56f5cf34c207 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 |