Index: Source/core/dom/Element.h |
diff --git a/Source/core/dom/Element.h b/Source/core/dom/Element.h |
index 669782c80666d1af6bab2611fa6110d12113782c..fc9b40b81dce4b41dd5b566d32f1f937cab32fc2 100644 |
--- a/Source/core/dom/Element.h |
+++ b/Source/core/dom/Element.h |
@@ -406,8 +406,8 @@ public: |
virtual void copyNonAttributePropertiesFromElement(const Element&) { } |
- virtual void attach(); |
- virtual void detach(); |
+ virtual void attach(const AttachContext& = AttachContext()) OVERRIDE; |
+ virtual void detach(const AttachContext& = AttachContext()) OVERRIDE; |
virtual RenderObject* createRenderer(RenderArena*, RenderStyle*); |
virtual bool rendererIsNeeded(const NodeRenderingContext&); |
void recalcStyle(StyleChange = NoChange, int childIndex = 0); |
@@ -715,7 +715,7 @@ private: |
void detachAttrNodeFromElementWithValue(Attr*, const AtomicString& value); |
void detachAttrNodeAtIndex(Attr*, size_t index); |
- void createRendererIfNeeded(); |
+ void createRendererIfNeeded(const AttachContext&); |
bool isJavaScriptURLAttribute(const Attribute&) const; |