diff options
Diffstat (limited to 'WebCore/dom/ContainerNode.h')
-rw-r--r-- | WebCore/dom/ContainerNode.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/WebCore/dom/ContainerNode.h b/WebCore/dom/ContainerNode.h index aa480a7..3ad932c 100644 --- a/WebCore/dom/ContainerNode.h +++ b/WebCore/dom/ContainerNode.h @@ -2,7 +2,7 @@ * Copyright (C) 1999 Lars Knoll (knoll@kde.org) * (C) 1999 Antti Koivisto (koivisto@kde.org) * (C) 2001 Dirk Mueller (mueller@kde.org) - * Copyright (C) 2004, 2005, 2006, 2007, 2009 Apple Inc. All rights reserved. + * Copyright (C) 2004, 2005, 2006, 2007 Apple Inc. All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public @@ -38,6 +38,7 @@ namespace Private { class ContainerNode : public Node { public: + ContainerNode(Document*, bool isElement = false); virtual ~ContainerNode(); Node* firstChild() const { return m_firstChild; } @@ -73,8 +74,6 @@ public: void cloneChildNodes(ContainerNode* clone); protected: - ContainerNode(Document*, ConstructionType = CreateContainer); - static void queuePostAttachCallback(NodeCallback, Node*); void suspendPostAttachCallbacks(); void resumePostAttachCallbacks(); @@ -98,8 +97,8 @@ private: Node* m_lastChild; }; -inline ContainerNode::ContainerNode(Document* document, ConstructionType type) - : Node(document, type) +inline ContainerNode::ContainerNode(Document* document, bool isElement) + : Node(document, isElement, true) , m_firstChild(0) , m_lastChild(0) { |