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 7cd3231faca24f9d43c355ee35f9afe89475fce1..18a5d75a0fb6d6ac386509881b2c9e6aa27561d6 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 @@ bool TextMatchMarkerListImpl::IsEmpty() const { |
} |
void TextMatchMarkerListImpl::Add(DocumentMarker* marker) { |
- DocumentMarkerListEditor::AddMarkerWithoutMergingOverlapping( |
- &markers_, TextMatchMarker::Create(*marker)); |
+ DocumentMarkerListEditor::AddMarkerWithoutMergingOverlapping(&markers_, |
+ marker); |
} |
void TextMatchMarkerListImpl::Clear() { |