Index: Source/core/dom/DocumentMarkerController.h |
diff --git a/Source/core/dom/DocumentMarkerController.h b/Source/core/dom/DocumentMarkerController.h |
index 0acccec2fe8d1aa984497b27c3c3ee70751e7d28..49e91977138db6ff8b42418d2f76c34df2eb41f2 100644 |
--- a/Source/core/dom/DocumentMarkerController.h |
+++ b/Source/core/dom/DocumentMarkerController.h |
@@ -83,6 +83,7 @@ public: |
void shiftMarkers(Node*, unsigned startOffset, int delta); |
void setMarkersActive(Range*, bool); |
void setMarkersActive(Node*, unsigned startOffset, unsigned endOffset, bool); |
+ bool hasMarkers(Node* node) const { return m_markers.contains(node); } |
DocumentMarker* markerContainingPoint(const LayoutPoint&, DocumentMarker::MarkerType); |
DocumentMarkerVector markersFor(Node*, DocumentMarker::MarkerTypes = DocumentMarker::AllMarkers()); |