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

Unified Diff: third_party/WebKit/Source/core/editing/markers/DocumentMarker.cpp

Issue 2902393003: [DMC #17.5] Eliminate DocumentMarker and TextMatchMarker copy constructors (Closed)
Patch Set: Rebase Created 3 years, 7 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/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 b3b2c60c8eaa68108f474a5cbb60d7d438859b97..1accf9afe0e92d19460b3694e0dc88531de4e071 100644
--- a/third_party/WebKit/Source/core/editing/markers/DocumentMarker.cpp
+++ b/third_party/WebKit/Source/core/editing/markers/DocumentMarker.cpp
@@ -169,12 +169,6 @@ DocumentMarker::DocumentMarker(unsigned start_offset,
thick,
background_color)) {}
-DocumentMarker::DocumentMarker(const DocumentMarker& marker)
- : type_(marker.GetType()),
- start_offset_(marker.StartOffset()),
- end_offset_(marker.EndOffset()),
- details_(marker.Details()) {}
-
Optional<DocumentMarker::MarkerOffsets>
DocumentMarker::ComputeOffsetsAfterShift(unsigned offset,
unsigned old_length,

Powered by Google App Engine
This is Rietveld 408576698