Index: Source/core/dom/NodeRenderingTraversal.h |
diff --git a/Source/core/dom/NodeRenderingTraversal.h b/Source/core/dom/NodeRenderingTraversal.h |
index 455479be8165d7c6e55e5b3be73dd939eb6097f5..33ec60d8378315f8fbfed9fa03443b13546d6363 100644 |
--- a/Source/core/dom/NodeRenderingTraversal.h |
+++ b/Source/core/dom/NodeRenderingTraversal.h |
@@ -55,8 +55,7 @@ private: |
const InsertionPoint* m_insertionPoint; |
}; |
-ContainerNode* parent(const Node*); |
-ContainerNode* parent(const Node*, ParentDetails*); |
+ContainerNode* parent(const Node*, ParentDetails* = 0); |
bool contains(const ContainerNode*, const Node*); |
Node* nextSibling(const Node*); |
Node* previousSibling(const Node*); |
@@ -66,12 +65,6 @@ RenderObject* nextSiblingRenderer(const Node*); |
RenderObject* previousSiblingRenderer(const Node*); |
RenderObject* nextInTopLayer(const Element*); |
-inline ContainerNode* parent(const Node* node) |
-{ |
- ParentDetails unusedDetails; |
- return parent(node, &unusedDetails); |
-} |
- |
inline Element* parentElement(const Node* node) |
{ |
ParentDetails unusedDetails; |