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 24d39f76014e18a9d977a52c4cedf4287687a7e4..cea15c01f1c4d6a4190d6fa45444eede2de07ada 100644 |
--- a/third_party/WebKit/Source/core/editing/markers/TextMatchMarkerListImpl.cpp |
+++ b/third_party/WebKit/Source/core/editing/markers/TextMatchMarkerListImpl.cpp |
@@ -18,16 +18,16 @@ bool TextMatchMarkerListImpl::IsEmpty() const { |
} |
void TextMatchMarkerListImpl::Add(DocumentMarker* marker) { |
- DocumentMarkerListEditor::AddMarkerWithoutMergingOverlapping(&markers_, |
- marker); |
+ DocumentMarkerListEditor::AddMarkerWithoutMergingOverlapping( |
+ &markers_, RenderedDocumentMarker::Create(*marker)); |
} |
void TextMatchMarkerListImpl::Clear() { |
markers_.clear(); |
} |
-const HeapVector<Member<RenderedDocumentMarker>>& |
-TextMatchMarkerListImpl::GetMarkers() const { |
+const HeapVector<Member<DocumentMarker>>& TextMatchMarkerListImpl::GetMarkers() |
+ const { |
return markers_; |
} |