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 9b74fb58655074553c395f2524adecb2542f0a47..8f2249e18a3d070f71e17824ef2e792ad97327f7 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() { |