Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(373)

Unified Diff: third_party/WebKit/Source/core/editing/markers/TextMatchMarkerListImpl.cpp

Issue 2905753002: [DMC #17] Make TextMatchMarkers constructible in single step (Closed)
Patch Set: Rebase Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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() {

Powered by Google App Engine
This is Rietveld 408576698