| Index: third_party/WebKit/Source/core/editing/markers/DocumentMarker.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/markers/DocumentMarker.cpp b/third_party/WebKit/Source/core/editing/markers/DocumentMarker.cpp
|
| index 7465262ac7324e34a6102a1154e37cefc431b5c4..bedc9349501b405d2a49e097dd1c38ada1a72dce 100644
|
| --- a/third_party/WebKit/Source/core/editing/markers/DocumentMarker.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/markers/DocumentMarker.cpp
|
| @@ -129,6 +129,10 @@ inline TextCompositionMarkerDetails* toTextCompositionMarkerDetails(
|
| return nullptr;
|
| }
|
|
|
| +DocumentMarker* DocumentMarker::clone() const {
|
| + return new DocumentMarker(*this);
|
| +}
|
| +
|
| DocumentMarker::DocumentMarker(MarkerType type,
|
| unsigned startOffset,
|
| unsigned endOffset,
|
|
|