Chromium Code Reviews| Index: third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.h |
| diff --git a/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.h b/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.h |
| index febfe1e0765567843c31ac1d414f26cca14dc0da..8214cc23da5d3f2d1135708b8da89cc4776c30be 100644 |
| --- a/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.h |
| +++ b/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.h |
| @@ -157,6 +157,8 @@ class CORE_EXPORT DocumentMarkerController final |
| using MarkerLists = |
| HeapVector<Member<MarkerList>, DocumentMarker::kMarkerTypeIndexesCount>; |
| using MarkerMap = HeapHashMap<WeakMember<const Node>, Member<MarkerLists>>; |
| + static Member<MarkerList>& ListForType(MarkerLists*, |
|
rlanday
2017/04/17 08:19:46
I added this as a static method instead of just pu
yosin_UTC9
2017/04/17 09:13:44
Maybe introduce |DocumentMarkerListSet| class?
|
| + DocumentMarker::MarkerType); |
| bool PossiblyHasMarkers(DocumentMarker::MarkerTypes); |
| void RemoveMarkersFromList(MarkerMap::iterator, DocumentMarker::MarkerTypes); |
| void RemoveMarkers(TextIterator&, DocumentMarker::MarkerTypes); |