Skip to content
  • shinyak@chromium.org's avatar
    Rename Node::shadowTreeRootNode() to Node::shadowRoot() · 17c0dd86
    shinyak@chromium.org authored
    https://bugs.webkit.org/show_bug.cgi?id=86449
    
    Reviewed by Darin Adler.
    
    Source/WebCore:
    
    Since Node::shadowTreeRootNode() returns always a ShadowRoot now, shadowRoot() is
    mure suitable than shadowTreeRootNode().
    
    This patch changes the method name.
    
    No new tests, no change in behavior.
    
    * WebCore.order:
    * dom/Node.cpp:
    (WebCore::Node::rendererIsEditable):
    (WebCore::Node::shadowAncestorNode):
    (WebCore::Node::shadowRoot):
    * dom/Node.h:
    (Node):
    * dom/NodeRenderingContext.cpp:
    (WebCore::NodeRenderingContext::NodeRenderingContext):
    * dom/Range.cpp:
    (WebCore::Range::shadowRoot):
    * dom/Range.h:
    (Range):
    * editing/Editor.cpp:
    (WebCore::Editor::nextVisibleRange):
    (WebCore::Editor::countMatchesForText):
    * editing/TextIterator.cpp:
    (WebCore::TextIterator::handleReplacedElement):
    * editing/htmlediting.cpp:
    (WebCore::indexForVisiblePosition):
    * html/shadow/ContentSelectorQuery.cpp:
    (WebCore::ContentSelectorQuery::matches):
    * html/shadow/HTMLContentElement.cpp:
    (WebCore::HTMLContentElement::parseAttribute):
    * html/shadow/InsertionPoint.cpp:
    (WebCore::InsertionPoint::detach):
    * page/EventHandler.cpp:
    (WebCore::instanceAssociatedWithShadowTreeElement):
    * svg/SVGElement.cpp:
    (WebCore::SVGElement::correspondingElement):
    (WebCore::collectInstancesForSVGElement):
    
    Source/WebKit/chromium:
    
    * src/WebFrameImpl.cpp:
    (WebKit::WebFrameImpl::scopeStringMatches):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@117210 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    17c0dd86