Index: Source/core/dom/Text.cpp |
diff --git a/Source/core/dom/Text.cpp b/Source/core/dom/Text.cpp |
index 56b7314d0d73e36e21da40e59aea3d503b2598f3..23e98bc6db44bcb73dc010653e6c73f3219ea18d 100644 |
--- a/Source/core/dom/Text.cpp |
+++ b/Source/core/dom/Text.cpp |
@@ -60,7 +60,7 @@ PassRefPtr<Node> Text::mergeNextSiblingNodesIfPossible() |
// Remove empty text nodes. |
if (!length()) { |
// Care must be taken to get the next node before removing the current node. |
- RefPtr<Node> nextNode(NodeTraversal::nextPostOrder(this)); |
+ RefPtr<Node> nextNode(NodeTraversal::nextPostOrder(*this)); |
remove(IGNORE_EXCEPTION); |
return nextNode.release(); |
} |
@@ -94,7 +94,7 @@ PassRefPtr<Node> Text::mergeNextSiblingNodesIfPossible() |
nextText->remove(IGNORE_EXCEPTION); |
} |
- return NodeTraversal::nextPostOrder(this); |
+ return NodeTraversal::nextPostOrder(*this); |
} |
PassRefPtr<Text> Text::splitText(unsigned offset, ExceptionState& es) |