Index: third_party/WebKit/Source/core/editing/markers/GenericDocumentMarkerListImpl.h |
diff --git a/third_party/WebKit/Source/core/editing/markers/GenericDocumentMarkerListImpl.h b/third_party/WebKit/Source/core/editing/markers/GenericDocumentMarkerListImpl.h |
index bd148c554746c436bdbb5c4e0cfd33f491b23bba..216b9067c5ba85987489cb559c5f1c75604764c0 100644 |
--- a/third_party/WebKit/Source/core/editing/markers/GenericDocumentMarkerListImpl.h |
+++ b/third_party/WebKit/Source/core/editing/markers/GenericDocumentMarkerListImpl.h |
@@ -16,9 +16,11 @@ class RenderedDocumentMarker; |
// specialized implementations for every MarkerType. |
class GenericDocumentMarkerListImpl final : public DocumentMarkerList { |
public: |
- GenericDocumentMarkerListImpl() = default; |
+ GenericDocumentMarkerListImpl(DocumentMarker::MarkerType); |
// DocumentMarkerList implementations |
+ DocumentMarker::MarkerType MarkerType() const final; |
+ |
bool IsEmpty() const final; |
void Add(DocumentMarker*) final; |
@@ -37,6 +39,7 @@ class GenericDocumentMarkerListImpl final : public DocumentMarkerList { |
DECLARE_TRACE(); |
private: |
+ const DocumentMarker::MarkerType marker_type_; |
HeapVector<Member<RenderedDocumentMarker>> markers_; |
DISALLOW_COPY_AND_ASSIGN(GenericDocumentMarkerListImpl); |