Index: Source/core/dom/Node.cpp |
diff --git a/Source/core/dom/Node.cpp b/Source/core/dom/Node.cpp |
index d76d159367c309d34d6269f5222b207ab1662ddd..60cb213b9afd737659d3559968ac010e5f827e6e 100644 |
--- a/Source/core/dom/Node.cpp |
+++ b/Source/core/dom/Node.cpp |
@@ -1547,12 +1547,7 @@ bool Node::offsetInCharacters() const |
return false; |
} |
-unsigned short Node::compareDocumentPosition(const Node* otherNode) const |
-{ |
- return compareDocumentPositionInternal(otherNode, TreatShadowTreesAsDisconnected); |
-} |
- |
-unsigned short Node::compareDocumentPositionInternal(const Node* otherNode, ShadowTreesTreatment treatment) const |
+unsigned short Node::compareDocumentPosition(const Node* otherNode, ShadowTreesTreatment treatment) const |
{ |
// It is not clear what should be done if |otherNode| is 0. |
if (!otherNode) |