Index: Source/core/editing/markup.cpp |
diff --git a/Source/core/editing/markup.cpp b/Source/core/editing/markup.cpp |
index 2a644bebb6f51a9d2556c1248a6d63400825e522..5b0608fbd71c4235701c6eac3b80d55e904374b7 100644 |
--- a/Source/core/editing/markup.cpp |
+++ b/Source/core/editing/markup.cpp |
@@ -1075,18 +1075,4 @@ void replaceChildrenWithText(ContainerNode* container, const String& text, Excep |
containerNode->appendChild(textNode.release(), es); |
} |
-void mergeWithNextTextNode(PassRefPtr<Node> node, ExceptionState& es) |
-{ |
- ASSERT(node && node->isTextNode()); |
- Node* next = node->nextSibling(); |
- if (!next || !next->isTextNode()) |
- return; |
- |
- RefPtr<Text> textNode = toText(node.get()); |
- RefPtr<Text> textNext = toText(next); |
- textNode->appendData(textNext->data()); |
- if (textNext->parentNode()) // Might have been removed by mutation event. |
- textNext->remove(es); |
-} |
- |
} |