Index: Source/core/dom/DocumentMarkerController.h |
diff --git a/Source/core/dom/DocumentMarkerController.h b/Source/core/dom/DocumentMarkerController.h |
index 0b14aaa579ca6fab383f9ed7f4cd4597092bef23..d7da98727f07100d9b4188f5b31d7201c82f1ebd 100644 |
--- a/Source/core/dom/DocumentMarkerController.h |
+++ b/Source/core/dom/DocumentMarkerController.h |
@@ -87,7 +87,9 @@ private: |
void addMarker(Node*, const DocumentMarker&); |
typedef Vector<RenderedDocumentMarker> MarkerList; |
- typedef HashMap<RefPtr<Node>, OwnPtr<MarkerList> > MarkerMap; |
+ typedef Vector<OwnPtr<MarkerList>, DocumentMarker::MarkerTypeIndexesCount> MarkerLists; |
+ typedef HashMap<RefPtr<Node>, OwnPtr<MarkerLists> > MarkerMap; |
+ void mergeOverlapping(MarkerList*, DocumentMarker&); |
bool possiblyHasMarkers(DocumentMarker::MarkerTypes); |
void removeMarkersFromList(MarkerMap::iterator, DocumentMarker::MarkerTypes); |