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/SpellCheckMarkerListImplTest.cpp

Issue 2868413002: [DMC #5.55] Add DocumentMarkerList::MarkerType() (Closed)
Patch Set: Add missing files 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/SpellCheckMarkerListImplTest.cpp
diff --git a/third_party/WebKit/Source/core/editing/markers/SpellCheckMarkerListImplTest.cpp b/third_party/WebKit/Source/core/editing/markers/SpellCheckMarkerListImplTest.cpp
index e814c1fafeb74c2ef676bf779f4cc6dd53be3f82..c3abe4d2e7dc26eb806fc3d54deb7ed1f06e7dd5 100644
--- a/third_party/WebKit/Source/core/editing/markers/SpellCheckMarkerListImplTest.cpp
+++ b/third_party/WebKit/Source/core/editing/markers/SpellCheckMarkerListImplTest.cpp
@@ -10,10 +10,16 @@
namespace blink {
+class SpellCheckMarkerListImplForTesting : public SpellCheckMarkerListImpl {
yosin_UTC9 2017/05/12 05:00:04 We can use SpellingMarkerList and GrammarMakrerLis
rlanday 2017/05/12 21:07:02 Can you please clarify what you mean by "and"? Do
yosin_UTC9 2017/05/15 04:03:04 I propose having only "SpellingMarkerListImplTest.
+ DocumentMarker::MarkerType MarkerType() const final {
+ return DocumentMarker::kSpelling;
+ }
+};
+
class SpellCheckMarkerListImplTest : public ::testing::Test {
protected:
SpellCheckMarkerListImplTest()
- : marker_list_(new SpellCheckMarkerListImpl()) {}
+ : marker_list_(new SpellCheckMarkerListImplForTesting()) {}
DocumentMarker* CreateMarker(unsigned start_offset, unsigned end_offset) {
return new DocumentMarker(DocumentMarker::kSpelling, start_offset,

Powered by Google App Engine
This is Rietveld 408576698