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

Unified Diff: third_party/WebKit/Source/core/editing/markers/CompositionMarkerListImpl.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/CompositionMarkerListImpl.cpp
diff --git a/third_party/WebKit/Source/core/editing/markers/CompositionMarkerListImpl.cpp b/third_party/WebKit/Source/core/editing/markers/CompositionMarkerListImpl.cpp
index d1f37eeee39743e00a648fe457d1727475d4c627..4c0ad5a61960c3282de44438036ddf15931d6026 100644
--- a/third_party/WebKit/Source/core/editing/markers/CompositionMarkerListImpl.cpp
+++ b/third_party/WebKit/Source/core/editing/markers/CompositionMarkerListImpl.cpp
@@ -45,8 +45,8 @@ bool CompositionMarkerListImpl::RemoveMarkers(unsigned start_offset,
bool CompositionMarkerListImpl::ShiftMarkers(unsigned offset,
unsigned old_length,
unsigned new_length) {
- return DocumentMarkerListEditor::ShiftMarkers(&markers_, offset, old_length,
- new_length);
+ return DocumentMarkerListEditor::ShiftMarkersContentIndependent(
+ &markers_, offset, old_length, new_length);
}
DEFINE_TRACE(CompositionMarkerListImpl) {

Powered by Google App Engine
This is Rietveld 408576698