Index: Source/core/html/HTMLInputElement.cpp |
diff --git a/Source/core/html/HTMLInputElement.cpp b/Source/core/html/HTMLInputElement.cpp |
index 9c38f7cee41bfb0cbeb0cce31ed78b41813d4bdd..cf05b62d0d812b36f896aa41266356e5c5148ea3 100644 |
--- a/Source/core/html/HTMLInputElement.cpp |
+++ b/Source/core/html/HTMLInputElement.cpp |
@@ -818,14 +818,14 @@ RenderObject* HTMLInputElement::createRenderer(RenderArena* arena, RenderStyle* |
return m_inputType->createRenderer(arena, style); |
} |
-void HTMLInputElement::attach() |
+void HTMLInputElement::attach(const AttachContext& context) |
{ |
PostAttachCallbackDisabler disabler(this); |
if (!m_hasType) |
updateType(); |
- HTMLTextFormControlElement::attach(); |
+ HTMLTextFormControlElement::attach(context); |
m_inputType->attach(); |
@@ -833,9 +833,9 @@ void HTMLInputElement::attach() |
document()->updateFocusAppearanceSoon(true /* restore selection */); |
} |
-void HTMLInputElement::detach() |
+void HTMLInputElement::detach(const AttachContext& context) |
{ |
- HTMLTextFormControlElement::detach(); |
+ HTMLTextFormControlElement::detach(context); |
setFormControlValueMatchesRenderer(false); |
m_inputType->detach(); |
} |