Searched refs:newMarker (Results 1 – 1 of 1) sorted by relevance
195 void DocumentMarkerController::addMarker(Node* node, const DocumentMarker& newMarker) in addMarker() argument197 ASSERT(newMarker.endOffset() >= newMarker.startOffset()); in addMarker()198 if (newMarker.endOffset() == newMarker.startOffset()) in addMarker()201 m_possiblyExistingMarkerTypes.add(newMarker.type()); in addMarker()209 DocumentMarker::MarkerTypeIndex markerListIndex = MarkerTypeToMarkerIndex(newMarker.type()); in addMarker()215 if (list->isEmpty() || list->last().endOffset() < newMarker.startOffset()) { in addMarker()216 list->append(RenderedDocumentMarker(newMarker)); in addMarker()218 RenderedDocumentMarker toInsert(newMarker); in addMarker()