Index: third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.h |
diff --git a/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.h b/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.h |
index 8a4ecdc4eaadabfe8eabb428b13a5cf62c0f0468..2fd0cbe6ee5bf035aa9c7b44f29a5f69f8cc02de 100644 |
--- a/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.h |
+++ b/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.h |
@@ -70,7 +70,8 @@ class CORE_EXPORT DocumentMarkerController final |
const Position& end, |
Color underlineColor, |
bool thick, |
- Color backgroundColor); |
+ Color backgroundColor, |
+ bool persist); |
void copyMarkers(Node* srcNode, |
unsigned startOffset, |
@@ -106,7 +107,7 @@ class CORE_EXPORT DocumentMarkerController final |
void removeMarkers(const MarkerRemoverPredicate& shouldRemoveMarker); |
void repaintMarkers( |
DocumentMarker::MarkerTypes = DocumentMarker::AllMarkers()); |
- void shiftMarkers(Node*, unsigned startOffset, int delta); |
+ void shiftMarkers(Node*, int startOffset, int prevLength, int newLength); |
// Returns true if markers within a range are found. |
bool setMarkersActive(const EphemeralRange&, bool); |
// Returns true if markers within a range defined by a node, |startOffset| and |