Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(201)

Unified Diff: third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.h

Issue 2810463002: Clean up DocumentMarkerController::copyMarkers() (now it's moveMarkers()) (Closed)
Patch Set: Actually do erase, fix reapply (messed up when rebasing) Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 73440cd7353a84d64d7353e3ed67a3a71141c0f4..398d743267b66a45f2ff01ec3d3850272d81f20d 100644
--- a/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.h
+++ b/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.h
@@ -74,11 +74,7 @@ class CORE_EXPORT DocumentMarkerController final
bool thick,
Color background_color);
- void CopyMarkers(Node* src_node,
- unsigned start_offset,
- int length,
- Node* dst_node,
- int delta);
+ void MoveMarkers(Node* src_node, int length, Node* dst_node);
void PrepareForDestruction();
// When a marker partially overlaps with range, if

Powered by Google App Engine
This is Rietveld 408576698