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

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

Issue 2780313002: [WIP] Refactor DocumentMarker (Closed)
Patch Set: Move accessor methods into derived classes Created 3 years, 9 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/CompositionMarkerList.cpp
diff --git a/third_party/WebKit/Source/core/editing/markers/CompositionMarkerList.cpp b/third_party/WebKit/Source/core/editing/markers/CompositionMarkerList.cpp
index 1d34a8ca62f09bf8014d62e98c4f4dce1c519e60..3f8500ef023e7e398ae361d530e4acaf8149f819 100644
--- a/third_party/WebKit/Source/core/editing/markers/CompositionMarkerList.cpp
+++ b/third_party/WebKit/Source/core/editing/markers/CompositionMarkerList.cpp
@@ -12,4 +12,8 @@ DocumentMarker::MarkerType CompositionMarkerList::allowedMarkerType() const {
return DocumentMarker::Composition;
}
+CompositionMarker* CompositionMarkerList::at(size_t index) {
+ return toCompositionMarker(DocumentMarkerList::at(index));
+}
+
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698