| 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/EditingMarkerList.h" | 5 #include "core/editing/markers/EditingMarkerList.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 #include "core/editing/markers/DocumentMarkerController.h" | 8 #include "core/editing/markers/DocumentMarkerController.h" |
| 9 | 9 |
| 10 namespace blink { | 10 namespace blink { |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 | 27 |
| 28 void EditingMarkerList::clear() { | 28 void EditingMarkerList::clear() { |
| 29 m_markersAreSorted = true; | 29 m_markersAreSorted = true; |
| 30 DocumentMarkerList::clear(); | 30 DocumentMarkerList::clear(); |
| 31 } | 31 } |
| 32 | 32 |
| 33 bool EditingMarkerList::markerListIsSorted() const { | 33 bool EditingMarkerList::markerListIsSorted() const { |
| 34 return m_markersAreSorted; | 34 return m_markersAreSorted; |
| 35 } | 35 } |
| 36 | 36 |
| 37 DEFINE_TRACE(EditingMarkerList) { | |
| 38 visitor->trace(m_markers); | |
| 39 DocumentMarkerList::trace(visitor); | |
| 40 } | |
| 41 | |
| 42 } // namespace blink | 37 } // namespace blink |
| OLD | NEW |