Index: third_party/WebKit/Source/core/editing/markers/SpellCheckMarkerListImpl.h |
diff --git a/third_party/WebKit/Source/core/editing/markers/SpellCheckMarkerListImpl.h b/third_party/WebKit/Source/core/editing/markers/SpellCheckMarkerListImpl.h |
index ff3de05d1391139db2c952726c3d1a0c40daf3cb..4a63c3be05a3a011bdf5ba6a1c4fe9ff4d823b96 100644 |
--- a/third_party/WebKit/Source/core/editing/markers/SpellCheckMarkerListImpl.h |
+++ b/third_party/WebKit/Source/core/editing/markers/SpellCheckMarkerListImpl.h |
@@ -14,9 +14,11 @@ namespace blink { |
// by start offset in order to be able to do this efficiently. |
class CORE_EXPORT SpellCheckMarkerListImpl : public DocumentMarkerList { |
public: |
- SpellCheckMarkerListImpl() = default; |
+ SpellCheckMarkerListImpl(DocumentMarker::MarkerType); |
// DocumentMarkerList implementations |
+ DocumentMarker::MarkerType MarkerType() const; |
+ |
bool IsEmpty() const final; |
void Add(DocumentMarker*) final; |
@@ -35,6 +37,7 @@ class CORE_EXPORT SpellCheckMarkerListImpl : public DocumentMarkerList { |
DECLARE_VIRTUAL_TRACE(); |
private: |
+ DocumentMarker::MarkerType marker_type_; |
HeapVector<Member<RenderedDocumentMarker>> markers_; |
DISALLOW_COPY_AND_ASSIGN(SpellCheckMarkerListImpl); |