OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "core/editing/markers/CompositionMarkerList.h" | 5 #include "core/editing/markers/CompositionMarkerList.h" |
6 | 6 |
7 namespace blink { | 7 namespace blink { |
8 | 8 |
9 CompositionMarkerList::CompositionMarkerList() : EditingMarkerList() {} | 9 CompositionMarkerList::CompositionMarkerList() : EditingMarkerList() {} |
10 | 10 |
11 DocumentMarker::MarkerType CompositionMarkerList::allowedMarkerType() const { | 11 DocumentMarker::MarkerType CompositionMarkerList::allowedMarkerType() const { |
12 return DocumentMarker::Composition; | 12 return DocumentMarker::Composition; |
13 } | 13 } |
14 | 14 |
| 15 CompositionMarker* CompositionMarkerList::at(size_t index) { |
| 16 return toCompositionMarker(DocumentMarkerList::at(index)); |
| 17 } |
| 18 |
15 } // namespace blink | 19 } // namespace blink |
OLD | NEW |