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) { |