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

Unified Diff: third_party/WebKit/Source/core/dom/CharacterData.cpp

Issue 2755953004: Refactor DocumentMarkerController to use SynchronousMutationObserver (Closed)
Patch Set: Created 3 years, 9 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/Document.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/dom/CharacterData.cpp
diff --git a/third_party/WebKit/Source/core/dom/CharacterData.cpp b/third_party/WebKit/Source/core/dom/CharacterData.cpp
index 9af75b3df04e5c61f426f8d53390a89c290d4fa5..da4c59b408449f3a68fca70fd9c9cc8cd91577a8 100644
--- a/third_party/WebKit/Source/core/dom/CharacterData.cpp
+++ b/third_party/WebKit/Source/core/dom/CharacterData.cpp
@@ -151,7 +151,7 @@ void CharacterData::replaceData(unsigned offset,
setDataAndUpdate(newStr, offset, realCount, data.length(),
UpdateFromNonParser);
- // update the markers for spell checking and grammar checking
+ // update DOM ranges
document().didRemoveText(this, offset, realCount);
document().didInsertText(this, offset, data.length());
}
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698