Index: third_party/WebKit/Source/core/editing/markers/DocumentMarker.h |
diff --git a/third_party/WebKit/Source/core/editing/markers/DocumentMarker.h b/third_party/WebKit/Source/core/editing/markers/DocumentMarker.h |
index 23c7e245536ac90f7f7fc5980c28945abd0538f5..c9611e49dbeb056d02ab52ad30131a99e74a0876 100644 |
--- a/third_party/WebKit/Source/core/editing/markers/DocumentMarker.h |
+++ b/third_party/WebKit/Source/core/editing/markers/DocumentMarker.h |
@@ -133,7 +133,7 @@ class CORE_EXPORT DocumentMarker |
const String& description); |
virtual ~DocumentMarker(); |
- MarkerType GetType() const { return type_; } |
+ virtual MarkerType GetType() const = 0; |
unsigned StartOffset() const { return start_offset_; } |
unsigned EndOffset() const { return end_offset_; } |
@@ -155,10 +155,9 @@ class CORE_EXPORT DocumentMarker |
DEFINE_INLINE_VIRTUAL_TRACE() {} |
protected: |
- DocumentMarker(MarkerType, unsigned start_offset, unsigned end_offset); |
+ DocumentMarker(unsigned start_offset, unsigned end_offset); |
private: |
- MarkerType type_; |
unsigned start_offset_; |
unsigned end_offset_; |