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 b18b3fd88304206850783d3ee5de7a20483edd5f..5cc41bd7b3cc0a3de1168060e9d1da1350ac9b65 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, |