Home
last modified time | relevance | path

Searched refs:newMarker (Results 1 – 1 of 1) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/dom/
DDocumentMarkerController.cpp195 void DocumentMarkerController::addMarker(Node* node, const DocumentMarker& newMarker) in addMarker() argument
197 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()