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

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

Issue 2785023002: Remove unused DocumentMarker comparison operators (Closed)
Patch Set: Rebase 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/editing/markers/DocumentMarker.h
diff --git a/third_party/WebKit/Source/core/editing/markers/DocumentMarker.h b/third_party/WebKit/Source/core/editing/markers/DocumentMarker.h
index 935f1d14ddcd8154896b84d7d7524f4936e1c4a3..8dd5d00fe07dc40929da92aa9b21d54df5804cac 100644
--- a/third_party/WebKit/Source/core/editing/markers/DocumentMarker.h
+++ b/third_party/WebKit/Source/core/editing/markers/DocumentMarker.h
@@ -180,13 +180,6 @@ class CORE_EXPORT DocumentMarker : public GarbageCollected<DocumentMarker> {
void SetEndOffset(unsigned offset) { end_offset_ = offset; }
void ShiftOffsets(int delta);
- bool operator==(const DocumentMarker& o) const {
- return GetType() == o.GetType() && StartOffset() == o.StartOffset() &&
- EndOffset() == o.EndOffset();
- }
-
- bool operator!=(const DocumentMarker& o) const { return !(*this == o); }
-
DECLARE_TRACE();
private:
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698