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 43a8d63e8a15db28ab5e48b59545182c2da6a3f4..9be4312e3c41a15de1ca4786a151742f6133d7e0 100644 |
--- a/third_party/WebKit/Source/core/dom/Document.cpp |
+++ b/third_party/WebKit/Source/core/dom/Document.cpp |
@@ -4316,16 +4316,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, |