Skip to content
  • shinyak@chromium.org's avatar
    Node::shadowTreeRootNode() should return ShadowRoot instead of Node. · 01261437
    shinyak@chromium.org authored
    https://bugs.webkit.org/show_bug.cgi?id=86428
    
    Reviewed by Hajime Morita.
    
    Source/WebCore:
    
    Since Node::shadowTreeRootNode() returns only ShadowRoot or 0 now, its return type should be ShadowRoot.
    This patch changes the return type and adds include directive to build.
    
    No new tests, no change in behavior.
    
    * dom/Node.cpp:
    (WebCore::Node::shadowAncestorNode):
    (WebCore::Node::shadowTreeRootNode):
    * dom/Node.h:
    (WebCore):
    (Node):
    * dom/NodeRenderingContext.cpp:
    (WebCore::NodeRenderingContext::NodeRenderingContext):
    * dom/Range.cpp:
    (WebCore::Range::shadowTreeRootNode):
    * dom/Range.h:
    (Range):
    * editing/Editor.cpp:
    * editing/TextIterator.cpp:
    * editing/htmlediting.cpp:
    * html/shadow/ContentSelectorQuery.cpp:
    * html/shadow/HTMLContentElement.cpp:
    (WebCore::HTMLContentElement::parseAttribute):
    * html/shadow/InsertionPoint.cpp:
    (WebCore::InsertionPoint::detach):
    * page/EventHandler.cpp:
    
    Source/WebKit/chromium:
    
    Adds include directive to build.
    
    * src/WebFrameImpl.cpp:
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@117036 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    01261437