Index: third_party/WebKit/Source/core/editing/markers/DocumentMarkerList.h |
diff --git a/third_party/WebKit/Source/core/editing/markers/DocumentMarkerList.h b/third_party/WebKit/Source/core/editing/markers/DocumentMarkerList.h |
index 2bbe3fbec256b90440b38192f8b872cde30aac21..2387105edc980c2263fb187f23cc76d72514cc6a 100644 |
--- a/third_party/WebKit/Source/core/editing/markers/DocumentMarkerList.h |
+++ b/third_party/WebKit/Source/core/editing/markers/DocumentMarkerList.h |
@@ -38,8 +38,9 @@ class CORE_EXPORT DocumentMarkerList |
virtual DocumentMarker* FirstMarkerIntersectingRange( |
unsigned start_offset, |
unsigned end_offset) const = 0; |
- // Returns markers that have non-empty overlap with the range |
- // [start_offset, end_offset] |
+ // Returns markers whose interiors have non-empty overlap with the range |
+ // [start_offset, end_offset]. Note that the range can be collapsed, in which |
+ // case markers containing the offset in their interiors are returned. |
virtual HeapVector<Member<DocumentMarker>> MarkersIntersectingRange( |
unsigned start_offset, |
unsigned end_offset) const = 0; |