Index: Source/core/dom/Document.cpp |
diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp |
index f947b0eb159cb8b89159567ec7bfbf5a5b188cf0..c91aa9ea899fb3d3789d40a2446ae4ed90511b7e 100644 |
--- a/Source/core/dom/Document.cpp |
+++ b/Source/core/dom/Document.cpp |
@@ -3677,7 +3677,6 @@ void Document::didInsertText(Node* text, unsigned offset, unsigned length) |
for (Range* range : m_ranges) |
range->didInsertText(text, offset, length); |
- // Update the markers for spelling and grammar checking. |
Xianzhu
2015/04/17 18:25:03
This is removed because it's incorrect and not mea
|
m_markers->shiftMarkers(text, offset, length); |
} |
@@ -3686,7 +3685,6 @@ void Document::didRemoveText(Node* text, unsigned offset, unsigned length) |
for (Range* range : m_ranges) |
range->didRemoveText(text, offset, length); |
- // Update the markers for spelling and grammar checking. |
m_markers->removeMarkers(text, offset, length); |
m_markers->shiftMarkers(text, offset + length, 0 - length); |
} |