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

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

Issue 2952953002: [MarkersIntersectingRange #1] Add DocumentMarkerList::MarkersIntersectingRange() (Closed)
Patch Set: Created 3 years, 6 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 600eeedca402ca85cf3c059281d0b642600a3989..678d4c8f59c517a3c3249380414e45da0dcc879a 100644
--- a/third_party/WebKit/Source/core/editing/markers/ActiveSuggestionMarkerListImpl.cpp
+++ b/third_party/WebKit/Source/core/editing/markers/ActiveSuggestionMarkerListImpl.cpp
@@ -30,6 +30,14 @@ ActiveSuggestionMarkerListImpl::GetMarkers() const {
return markers_;
}
+HeapVector<Member<DocumentMarker>>
+ActiveSuggestionMarkerListImpl::MarkersIntersectingRange(
+ unsigned start_offset,
+ unsigned end_offset) const {
+ return DocumentMarkerListEditor::MarkersIntersectingRange(
+ markers_, start_offset, end_offset);
+}
+
bool ActiveSuggestionMarkerListImpl::MoveMarkers(
int length,
DocumentMarkerList* dst_markers_) {

Powered by Google App Engine
This is Rietveld 408576698