Skip to content
  • antti@apple.com's avatar
    Make descendant iterators always require ContainerNode root · 1a7337a9
    antti@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=120393
    
    Reviewed by Andreas Kling.
    
    Remove Node* root versions of the iterators. 
    Fix the few call sites that required them to have tighter typing.
    
    * accessibility/AccessibilityNodeObject.cpp:
    (WebCore::AccessibilityNodeObject::canvasHasFallbackContent):
    (WebCore::siblingWithAriaRole):
    * dom/ChildIterator.h:
    (WebCore::::ChildIteratorAdapter):
    (WebCore::::begin):
    (WebCore::::end):
    (WebCore::elementChildren):
    (WebCore::childrenOfType):
    * dom/DescendantIterator.h:
    (WebCore::::DescendantIterator):
    (WebCore::::DescendantIteratorAdapter):
    (WebCore::::begin):
    (WebCore::::end):
    (WebCore::elementDescendants):
    (WebCore::descendantsOfType):
    * editing/ApplyStyleCommand.cpp:
    (WebCore::dummySpanAncestorForNode):
    (WebCore::ApplyStyleCommand::cleanupUnstyledAppleStyleSpans):
    (WebCore::ApplyStyleCommand::applyInlineStyle):
    * editing/ApplyStyleCommand.h:
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154734 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    1a7337a9