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 9783b202556db6a77f7f22d30cad65c8fb7d3898..c65ed4c684c7e5d6359e3a67a71c392997edb8e7 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; |
} |