Chromium Code Reviews| 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, |