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

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

Issue 2780313002: [WIP] Refactor DocumentMarker (Closed)
Patch Set: Move accessor methods into derived classes 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 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);
}
};

Powered by Google App Engine
This is Rietveld 408576698