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

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 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);
}

Powered by Google App Engine
This is Rietveld 408576698