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

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

Issue 2982313002: [MarkersIntersectingRange #2.05] Add DocumentMarkerList::FirstMarkerIntersectingRange() (Closed)
Patch Set: Created 3 years, 5 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/DocumentMarkerListEditor.h
diff --git a/third_party/WebKit/Source/core/editing/markers/DocumentMarkerListEditor.h b/third_party/WebKit/Source/core/editing/markers/DocumentMarkerListEditor.h
index ec2bb76b466b6992e2867828a7293bbc8610f56e..867c6554b4bac4d2ec98e22b51f888d647081db3 100644
--- a/third_party/WebKit/Source/core/editing/markers/DocumentMarkerListEditor.h
+++ b/third_party/WebKit/Source/core/editing/markers/DocumentMarkerListEditor.h
@@ -46,6 +46,10 @@ class CORE_EXPORT DocumentMarkerListEditor final {
unsigned old_length,
unsigned new_length);
+ static DocumentMarker* FirstMarkerIntersectingRange(const MarkerList&,
Xiaocheng 2017/07/20 21:03:57 nit: Could you add a comment about what this funct
+ unsigned start_offset,
+ unsigned end_offset);
+
static HeapVector<Member<DocumentMarker>> MarkersIntersectingRange(
const MarkerList&,
unsigned start_offset,

Powered by Google App Engine
This is Rietveld 408576698