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

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

Issue 2904093002: [DMC #18] Eliminate DocumentMarkerTextMatch (subclass of DocumentMarkerDetails) (Closed)
Patch Set: Add DCHECKs, more nits 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/editing/markers/DocumentMarker.cpp » ('j') | 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 2a1dd7d1fbfcf2cbb079740ce22c2f5e14024b02..401bec6f8dea35c9e839689901e625c21d52cc67 100644
--- a/third_party/WebKit/Source/core/editing/markers/DocumentMarker.h
+++ b/third_party/WebKit/Source/core/editing/markers/DocumentMarker.h
@@ -174,7 +174,7 @@ class CORE_EXPORT DocumentMarker : public GarbageCollected<DocumentMarker> {
DECLARE_TRACE();
protected:
- DocumentMarker(unsigned start_offset, unsigned end_offset, MatchStatus);
+ DocumentMarker(MarkerType, unsigned start_offset, unsigned end_offset);
private:
MarkerType type_;
yosin_UTC9 2017/05/31 07:06:54 nit: s/MarkerType/const MarkerType/
@@ -197,7 +197,6 @@ class DocumentMarkerDetails
DocumentMarkerDetails() {}
virtual ~DocumentMarkerDetails();
virtual bool IsDescription() const { return false; }
- virtual bool IsTextMatch() const { return false; }
virtual bool IsComposition() const { return false; }
DEFINE_INLINE_VIRTUAL_TRACE() {}
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/editing/markers/DocumentMarker.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698