| Index: third_party/WebKit/Source/core/editing/markers/DocumentMarkerListEditor.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/markers/DocumentMarkerListEditor.cpp b/third_party/WebKit/Source/core/editing/markers/DocumentMarkerListEditor.cpp
|
| index 28c78d36fdecf6eff98ac6f8ad1f5c545a661ea4..5a70422c8396433712f158e57ead69af702a973a 100644
|
| --- a/third_party/WebKit/Source/core/editing/markers/DocumentMarkerListEditor.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/markers/DocumentMarkerListEditor.cpp
|
| @@ -40,7 +40,7 @@ void DocumentMarkerListEditor::AddMarker(MarkerList* list,
|
|
|
| bool DocumentMarkerListEditor::MoveMarkers(MarkerList* src_list,
|
| int length,
|
| - MarkerList* dst_list) {
|
| + DocumentMarkerList* dst_list) {
|
| DCHECK_GT(length, 0);
|
| bool didMoveMarker = false;
|
| unsigned end_offset = length - 1;
|
| @@ -55,7 +55,7 @@ bool DocumentMarkerListEditor::MoveMarkers(MarkerList* src_list,
|
| if (marker.EndOffset() > end_offset)
|
| marker.SetEndOffset(end_offset);
|
|
|
| - DocumentMarkerListEditor::AddMarker(dst_list, &marker);
|
| + dst_list->Add(&marker);
|
| didMoveMarker = true;
|
| }
|
|
|
|
|