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

Unified Diff: third_party/WebKit/Source/core/editing/markers/SpellCheckMarkerListImpl.cpp

Issue 2895353003: Split DMLEditor::ShiftMarkers() into content-dependent and -independent versions (Closed)
Patch Set: Created 3 years, 7 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: third_party/WebKit/Source/core/editing/markers/SpellCheckMarkerListImpl.cpp
diff --git a/third_party/WebKit/Source/core/editing/markers/SpellCheckMarkerListImpl.cpp b/third_party/WebKit/Source/core/editing/markers/SpellCheckMarkerListImpl.cpp
index f0636a51c7b7de4b7a01d1b98b402f180cc1b151..fa83de2ab72eb68fc33d7836e8780c2af4fdaa2f 100644
--- a/third_party/WebKit/Source/core/editing/markers/SpellCheckMarkerListImpl.cpp
+++ b/third_party/WebKit/Source/core/editing/markers/SpellCheckMarkerListImpl.cpp
@@ -68,8 +68,8 @@ bool SpellCheckMarkerListImpl::RemoveMarkers(unsigned start_offset,
bool SpellCheckMarkerListImpl::ShiftMarkers(unsigned offset,
unsigned old_length,
unsigned new_length) {
- return DocumentMarkerListEditor::ShiftMarkers(&markers_, offset, old_length,
- new_length);
+ return DocumentMarkerListEditor::ShiftMarkersContentDependent(
+ &markers_, offset, old_length, new_length);
}
DEFINE_TRACE(SpellCheckMarkerListImpl) {

Powered by Google App Engine
This is Rietveld 408576698