Index: Source/core/dom/Element.h |
diff --git a/Source/core/dom/Element.h b/Source/core/dom/Element.h |
index 8fafa3e4db1e5d59df792c4727ba9a53c2ae7911..44ee8ba6927866fbd246665e1e6a10a5280f8e80 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); |
@@ -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; |