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 f29d402ce846897e012d0ab003096e9a4c1b4327..46e86d2dcfbf943c3beab9f8e424bdafbfd87e09 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/SpellCheckMarker.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(DocumentMarker::Spelling, startOffset, endOffset, |
- emptyString); |
+ return new SpellCheckMarker(DocumentMarker::Spelling, startOffset, |
+ endOffset, emptyString); |
} |
}; |