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

Unified Diff: third_party/WebKit/Source/core/editing/markers/DocumentMarkerListEditorTest.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/DocumentMarkerListEditorTest.cpp
diff --git a/third_party/WebKit/Source/core/editing/markers/DocumentMarkerListEditorTest.cpp b/third_party/WebKit/Source/core/editing/markers/DocumentMarkerListEditorTest.cpp
index 87a5818d657b51741caaf300deafc7f88c00266d..a1976a15053f0ed2f699f45a2c6f4d55ba1ca762 100644
--- a/third_party/WebKit/Source/core/editing/markers/DocumentMarkerListEditorTest.cpp
+++ b/third_party/WebKit/Source/core/editing/markers/DocumentMarkerListEditorTest.cpp
@@ -4,6 +4,7 @@
#include "core/editing/markers/DocumentMarkerListEditor.h"
+#include "core/editing/markers/TextMatchMarker.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace blink {
@@ -11,8 +12,8 @@ namespace blink {
class DocumentMarkerListEditorTest : public ::testing::Test {
protected:
DocumentMarker* CreateMarker(unsigned startOffset, unsigned endOffset) {
- return new DocumentMarker(startOffset, endOffset,
- DocumentMarker::MatchStatus::kInactive);
+ return new TextMatchMarker(startOffset, endOffset,
+ DocumentMarker::MatchStatus::kInactive);
}
};

Powered by Google App Engine
This is Rietveld 408576698