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

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

Issue 2780313002: [WIP] Refactor DocumentMarker (Closed)
Patch Set: Rebase 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/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 e633016739f04e725c036c6e0d8bb3f2623818ee..68497e334b1fe282047769ec13edbc69b7ee8649 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 ShiftMarkerResult = DocumentMarker::ShiftMarkerResult;
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);
}
};

Powered by Google App Engine
This is Rietveld 408576698