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

Unified Diff: third_party/WebKit/Source/core/editing/markers/TextMatchMarkerListImplTest.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/TextMatchMarkerListImplTest.cpp
diff --git a/third_party/WebKit/Source/core/editing/markers/TextMatchMarkerListImplTest.cpp b/third_party/WebKit/Source/core/editing/markers/TextMatchMarkerListImplTest.cpp
index 2731906a004bd9e7ba0bea4c3764eb61cc7aceac..ad26bac789b5ef632c51b733a304ef8f744060ed 100644
--- a/third_party/WebKit/Source/core/editing/markers/TextMatchMarkerListImplTest.cpp
+++ b/third_party/WebKit/Source/core/editing/markers/TextMatchMarkerListImplTest.cpp
@@ -5,6 +5,7 @@
#include "core/editing/markers/TextMatchMarkerListImpl.h"
#include "core/editing/EditingTestBase.h"
+#include "core/editing/markers/TextMatchMarker.h"
namespace blink {
@@ -13,8 +14,8 @@ class TextMatchMarkerListImplTest : public EditingTestBase {
TextMatchMarkerListImplTest() : marker_list_(new TextMatchMarkerListImpl()) {}
DocumentMarker* CreateMarker(unsigned start_offset, unsigned end_offset) {
- return new DocumentMarker(start_offset, end_offset,
- DocumentMarker::MatchStatus::kInactive);
+ return new TextMatchMarker(start_offset, end_offset,
+ DocumentMarker::MatchStatus::kInactive);
}
Persistent<TextMatchMarkerListImpl> marker_list_;

Powered by Google App Engine
This is Rietveld 408576698