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 6952d56a9d35a1238035f1fb2e0e377ad0d1f18c..fc728b97d4b5713a9e0a3e4443f768542a779dcd 100644 |
--- a/third_party/WebKit/Source/core/editing/markers/DocumentMarker.h |
+++ b/third_party/WebKit/Source/core/editing/markers/DocumentMarker.h |
@@ -136,15 +136,15 @@ class CORE_EXPORT DocumentMarker : public GarbageCollected<DocumentMarker> { |
virtual DocumentMarker* clone() const; |
+ static DocumentMarker* createCompositionMarker(unsigned startOffset, |
+ unsigned endOffset, |
+ Color underlineColor, |
+ bool thick, |
+ Color backgroundColor); |
DocumentMarker(MarkerType, |
unsigned startOffset, |
unsigned endOffset, |
const String& description); |
- DocumentMarker(unsigned startOffset, |
- unsigned endOffset, |
- Color underlineColor, |
- bool thick, |
- Color backgroundColor); |
MarkerType type() const { return m_type; } |
unsigned startOffset() const { return m_startOffset; } |
@@ -190,6 +190,11 @@ class CORE_EXPORT DocumentMarker : public GarbageCollected<DocumentMarker> { |
DocumentMarker(unsigned startOffset, unsigned endOffset, bool activeMatch); |
private: |
+ DocumentMarker(MarkerType, |
+ unsigned startOffset, |
+ unsigned endOffset, |
+ DocumentMarkerDetails*); |
+ |
MarkerType m_type; |
unsigned m_startOffset; |
unsigned m_endOffset; |