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..2d51dcdef928e55f5a20463a2785dbf2103dcd98 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; |
yosin_UTC9
2017/05/12 05:00:03
nit: s/const/const final/
|
+ |
bool IsEmpty() const final; |
void Add(DocumentMarker*) final; |
@@ -37,6 +39,7 @@ class GenericDocumentMarkerListImpl final : public DocumentMarkerList { |
DECLARE_TRACE(); |
private: |
+ DocumentMarker::MarkerType marker_type_; |
HeapVector<Member<RenderedDocumentMarker>> markers_; |
DISALLOW_COPY_AND_ASSIGN(GenericDocumentMarkerListImpl); |