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

Unified Diff: third_party/WebKit/Source/core/editing/markers/TextMatchMarkerListImpl.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
« no previous file with comments | « third_party/WebKit/Source/core/editing/markers/SpellCheckMarkerListImpl.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/editing/markers/TextMatchMarkerListImpl.cpp
diff --git a/third_party/WebKit/Source/core/editing/markers/TextMatchMarkerListImpl.cpp b/third_party/WebKit/Source/core/editing/markers/TextMatchMarkerListImpl.cpp
index cea15c01f1c4d6a4190d6fa45444eede2de07ada..9eede22c811e6e5cb93eab085b7a61bb4a8c2ffd 100644
--- a/third_party/WebKit/Source/core/editing/markers/TextMatchMarkerListImpl.cpp
+++ b/third_party/WebKit/Source/core/editing/markers/TextMatchMarkerListImpl.cpp
@@ -44,8 +44,8 @@ bool TextMatchMarkerListImpl::RemoveMarkers(unsigned start_offset, int length) {
bool TextMatchMarkerListImpl::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(TextMatchMarkerListImpl) {
« no previous file with comments | « third_party/WebKit/Source/core/editing/markers/SpellCheckMarkerListImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698