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

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

Issue 2911723002: [DMC #24] Add SpellingMarker and GrammarMarker (subclasses of DocumentMarker) (Closed)
Patch Set: Add IsSpellCheckMarker() tests Created 3 years, 7 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/SpellingMarkerListImplTest.cpp
diff --git a/third_party/WebKit/Source/core/editing/markers/SpellingMarkerListImplTest.cpp b/third_party/WebKit/Source/core/editing/markers/SpellingMarkerListImplTest.cpp
index 39b353f658ed46b555a64eeac566008b189c22d5..a73974da41064fc20fa553f0e46a491bf7598c74 100644
--- a/third_party/WebKit/Source/core/editing/markers/SpellingMarkerListImplTest.cpp
+++ b/third_party/WebKit/Source/core/editing/markers/SpellingMarkerListImplTest.cpp
@@ -4,6 +4,7 @@
#include "core/editing/markers/SpellCheckMarkerListImpl.h"
+#include "core/editing/markers/SpellingMarker.h"
#include "core/editing/markers/SpellingMarkerListImpl.h"
#include "platform/heap/Handle.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -18,8 +19,7 @@ class SpellingMarkerListImplTest : public ::testing::Test {
SpellingMarkerListImplTest() : marker_list_(new SpellingMarkerListImpl()) {}
DocumentMarker* CreateMarker(unsigned start_offset, unsigned end_offset) {
- return new DocumentMarker(DocumentMarker::kSpelling, start_offset,
- end_offset, g_empty_string);
+ return new SpellingMarker(start_offset, end_offset, g_empty_string);
}
Persistent<SpellingMarkerListImpl> marker_list_;

Powered by Google App Engine
This is Rietveld 408576698