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 18a5d75a0fb6d6ac386509881b2c9e6aa27561d6..7cd3231faca24f9d43c355ee35f9afe89475fce1 100644 |
--- a/third_party/WebKit/Source/core/editing/markers/TextMatchMarkerListImpl.cpp |
+++ b/third_party/WebKit/Source/core/editing/markers/TextMatchMarkerListImpl.cpp |
@@ -22,8 +22,8 @@ |
} |
void TextMatchMarkerListImpl::Add(DocumentMarker* marker) { |
- DocumentMarkerListEditor::AddMarkerWithoutMergingOverlapping(&markers_, |
- marker); |
+ DocumentMarkerListEditor::AddMarkerWithoutMergingOverlapping( |
+ &markers_, TextMatchMarker::Create(*marker)); |
} |
void TextMatchMarkerListImpl::Clear() { |