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

Unified Diff: third_party/WebKit/Source/core/editing/markers/SpellCheckMarkerListTest.cpp

Issue 2780313002: [WIP] Refactor DocumentMarker (Closed)
Patch Set: Move CompositionMarkerList::at() into this CL Created 3 years, 9 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/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;

Powered by Google App Engine
This is Rietveld 408576698