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

Unified Diff: third_party/WebKit/Source/core/editing/markers/CompositionMarkerListImpl.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/CompositionMarkerListImpl.cpp
diff --git a/third_party/WebKit/Source/core/editing/markers/CompositionMarkerListImpl.cpp b/third_party/WebKit/Source/core/editing/markers/CompositionMarkerListImpl.cpp
index c78e3ecff8105a7958e26b396b1d4d811f7644cf..322c468a67bafb787db55a6a3ac5fb2f1d7487c8 100644
--- a/third_party/WebKit/Source/core/editing/markers/CompositionMarkerListImpl.cpp
+++ b/third_party/WebKit/Source/core/editing/markers/CompositionMarkerListImpl.cpp
@@ -30,6 +30,13 @@ CompositionMarkerListImpl::GetMarkers() const {
return markers_;
}
+HeapVector<Member<DocumentMarker>>
+CompositionMarkerListImpl::MarkersIntersectingRange(unsigned start_offset,
+ unsigned end_offset) const {
+ return DocumentMarkerListEditor::MarkersIntersectingRange(
+ markers_, start_offset, end_offset);
+}
+
bool CompositionMarkerListImpl::MoveMarkers(int length,
DocumentMarkerList* dst_markers_) {
return DocumentMarkerListEditor::MoveMarkers(&markers_, length, dst_markers_);

Powered by Google App Engine
This is Rietveld 408576698