| Index: Source/core/dom/Document.cpp
|
| diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp
|
| index 0aa429df934a02c5cf0edce68e8880d52cbff151..43a77c7115f9b8fc96f200608ae5adbdac9acb72 100644
|
| --- a/Source/core/dom/Document.cpp
|
| +++ b/Source/core/dom/Document.cpp
|
| @@ -3679,7 +3679,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.
|
| m_markers->shiftMarkers(text, offset, length);
|
| }
|
|
|
| @@ -3688,7 +3687,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);
|
| }
|
|
|