Index: third_party/WebKit/Source/core/editing/markers/DocumentMarkerTest.cpp |
diff --git a/third_party/WebKit/Source/core/editing/markers/DocumentMarkerTest.cpp b/third_party/WebKit/Source/core/editing/markers/DocumentMarkerTest.cpp |
index aa9d87faf163695f0c3deed254161d3f1762ebd8..1291ad29ae6391d73b7ef2e010d6a062f4d4a41c 100644 |
--- a/third_party/WebKit/Source/core/editing/markers/DocumentMarkerTest.cpp |
+++ b/third_party/WebKit/Source/core/editing/markers/DocumentMarkerTest.cpp |
@@ -4,6 +4,7 @@ |
#include "core/editing/markers/DocumentMarker.h" |
+#include "core/editing/markers/TextMatchMarker.h" |
#include "testing/gtest/include/gtest/gtest.h" |
namespace blink { |
@@ -13,8 +14,8 @@ using MarkerOffsets = DocumentMarker::MarkerOffsets; |
class DocumentMarkerTest : public ::testing::Test { |
protected: |
DocumentMarker* CreateMarker(unsigned startOffset, unsigned endOffset) { |
- return new DocumentMarker(startOffset, endOffset, |
- DocumentMarker::MatchStatus::kInactive); |
+ return new TextMatchMarker(startOffset, endOffset, |
rlanday
2017/05/31 02:03:30
This is the fix: use the new TextMatchMarker const
|
+ DocumentMarker::MatchStatus::kInactive); |
} |
}; |