Index: third_party/WebKit/Source/core/editing/markers/SpellCheckMarkerListTest.cpp |
diff --git a/third_party/WebKit/Source/core/editing/markers/SpellCheckMarkerListTest.cpp b/third_party/WebKit/Source/core/editing/markers/SpellCheckMarkerListTest.cpp |
index a665ae0f5015d5293bf2215d1d8312f83aea5ecd..e66c84a4e39324e54a78654c043863bb3216ad8e 100644 |
--- a/third_party/WebKit/Source/core/editing/markers/SpellCheckMarkerListTest.cpp |
+++ b/third_party/WebKit/Source/core/editing/markers/SpellCheckMarkerListTest.cpp |
@@ -4,6 +4,7 @@ |
#include "core/editing/markers/SpellCheckMarkerList.h" |
+#include "core/editing/markers/SpellCheckMarker.h" |
#include "platform/heap/Handle.h" |
#include "testing/gtest/include/gtest/gtest.h" |
@@ -15,8 +16,8 @@ class SpellCheckMarkerListTest : public ::testing::Test { |
: m_markerList(new SpellCheckMarkerList(DocumentMarker::Spelling)) {} |
DocumentMarker* createMarker(unsigned startOffset, unsigned endOffset) { |
- return new DocumentMarker(DocumentMarker::Spelling, startOffset, endOffset, |
- emptyString); |
+ return new SpellCheckMarker(DocumentMarker::Spelling, startOffset, |
+ endOffset, emptyString); |
} |
Persistent<SpellCheckMarkerList> m_markerList; |