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

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

Issue 2982313002: [MarkersIntersectingRange #2.05] Add DocumentMarkerList::FirstMarkerIntersectingRange() (Closed)
Patch Set: Rebase 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/ActiveSuggestionMarkerListImpl.cpp
diff --git a/third_party/WebKit/Source/core/editing/markers/ActiveSuggestionMarkerListImpl.cpp b/third_party/WebKit/Source/core/editing/markers/ActiveSuggestionMarkerListImpl.cpp
index 678d4c8f59c517a3c3249380414e45da0dcc879a..0cc267c8cd2e3624f0346bf090fa41d1678ebdb6 100644
--- a/third_party/WebKit/Source/core/editing/markers/ActiveSuggestionMarkerListImpl.cpp
+++ b/third_party/WebKit/Source/core/editing/markers/ActiveSuggestionMarkerListImpl.cpp
@@ -30,6 +30,13 @@ ActiveSuggestionMarkerListImpl::GetMarkers() const {
return markers_;
}
+DocumentMarker* ActiveSuggestionMarkerListImpl::FirstMarkerIntersectingRange(
+ unsigned start_offset,
+ unsigned end_offset) const {
+ return DocumentMarkerListEditor::FirstMarkerIntersectingRange(
+ markers_, start_offset, end_offset);
+}
+
HeapVector<Member<DocumentMarker>>
ActiveSuggestionMarkerListImpl::MarkersIntersectingRange(
unsigned start_offset,

Powered by Google App Engine
This is Rietveld 408576698