| Index: Source/core/dom/ContainerNode.h
|
| diff --git a/Source/core/dom/ContainerNode.h b/Source/core/dom/ContainerNode.h
|
| index 80b9c88c0ab865503673206d6d3bd014a70fc0ea..6d90cc94879babb26cd60baee6e4ca85c0e6df74 100644
|
| --- a/Source/core/dom/ContainerNode.h
|
| +++ b/Source/core/dom/ContainerNode.h
|
| @@ -113,8 +113,8 @@ public:
|
|
|
| void cloneChildNodes(ContainerNode* clone);
|
|
|
| - virtual void attach(const AttachContext& = AttachContext()) OVERRIDE;
|
| - virtual void detach(const AttachContext& = AttachContext()) OVERRIDE;
|
| + virtual void createRenderTree(const AttachContext& = AttachContext()) OVERRIDE;
|
| + virtual void destroyRenderTree(const AttachContext& = AttachContext()) OVERRIDE;
|
| virtual LayoutRect boundingBox() const OVERRIDE;
|
| virtual void setFocus(bool) OVERRIDE;
|
| virtual void setActive(bool active = true, bool pause = false) OVERRIDE;
|
| @@ -184,27 +184,6 @@ inline ContainerNode::ContainerNode(TreeScope* treeScope, ConstructionType type)
|
| {
|
| }
|
|
|
| -inline void ContainerNode::attachChildren(const AttachContext& context)
|
| -{
|
| - AttachContext childrenContext(context);
|
| - childrenContext.resolvedStyle = 0;
|
| -
|
| - for (Node* child = firstChild(); child; child = child->nextSibling()) {
|
| - ASSERT(!child->attached() || childAttachedAllowedWhenAttachingChildren(this));
|
| - if (!child->attached())
|
| - child->attach(childrenContext);
|
| - }
|
| -}
|
| -
|
| -inline void ContainerNode::detachChildren(const AttachContext& context)
|
| -{
|
| - AttachContext childrenContext(context);
|
| - childrenContext.resolvedStyle = 0;
|
| -
|
| - for (Node* child = firstChild(); child; child = child->nextSibling())
|
| - child->detach(childrenContext);
|
| -}
|
| -
|
| inline unsigned Node::childNodeCount() const
|
| {
|
| if (!isContainerNode())
|
|
|