Index: third_party/WebKit/Source/core/dom/Document.cpp |
diff --git a/third_party/WebKit/Source/core/dom/Document.cpp b/third_party/WebKit/Source/core/dom/Document.cpp |
index afdbfece636ea3c32364eb96876b9cbd71085946..18bca8c47586a261e86240a7e9a18f307e94da8f 100644 |
--- a/third_party/WebKit/Source/core/dom/Document.cpp |
+++ b/third_party/WebKit/Source/core/dom/Document.cpp |
@@ -4331,16 +4331,11 @@ void Document::nodeWillBeRemoved(Node& n) { |
void Document::didInsertText(Node* text, unsigned offset, unsigned length) { |
for (Range* range : m_ranges) |
range->didInsertText(text, offset, length); |
- |
- m_markers->shiftMarkers(text, offset, length); |
} |
void Document::didRemoveText(Node* text, unsigned offset, unsigned length) { |
for (Range* range : m_ranges) |
range->didRemoveText(text, offset, length); |
- |
- m_markers->removeMarkers(text, offset, length); |
- m_markers->shiftMarkers(text, offset + length, 0 - length); |
} |
void Document::didMergeTextNodes(const Text& mergedNode, |