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

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

Issue 2905753002: [DMC #17] Make TextMatchMarkers constructible in single step (Closed)
Patch Set: Fix build error 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 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() {

Powered by Google App Engine
This is Rietveld 408576698