Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(746)

Unified Diff: Source/core/dom/Document.cpp

Issue 1053123007: Invalidate paint of tickmarks on document change (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
}
« no previous file with comments | « LayoutTests/fast/repaint/text-match-document-change-expected.txt ('k') | Source/core/dom/DocumentMarkerController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698