Skip to content
  • krit@webkit.org's avatar
    Rename functions in SVGDocumentExtension · 2c9916ff
    krit@webkit.org authored
    https://bugs.webkit.org/show_bug.cgi?id=127046
    
    Reviewed by Sam Weinig.
    
    Change some function names in SVGDocumentExtension
    to make them more descriptive.
    
    Simple refactoring. No new tests.
    
    * rendering/svg/RenderSVGResourceContainer.cpp:
    (WebCore::RenderSVGResourceContainer::registerResource):
    * svg/SVGDocumentExtensions.cpp:
    (WebCore::SVGDocumentExtensions::addPendingResource):
    (WebCore::SVGDocumentExtensions::isIdOfPendingResource):
    (WebCore::SVGDocumentExtensions::isElementWithPendingResources):
    (WebCore::SVGDocumentExtensions::isPendingResource):
    (WebCore::SVGDocumentExtensions::clearHasPendingResourcesIfPossible):
    (WebCore::SVGDocumentExtensions::removeElementFromPendingResources):
    (WebCore::SVGDocumentExtensions::removePendingResource):
    (WebCore::SVGDocumentExtensions::removePendingResourceForRemoval):
    (WebCore::SVGDocumentExtensions::markPendingResourcesForRemoval):
    (WebCore::SVGDocumentExtensions::removeElementFromPendingResourcesForRemovalMap): The name is not great but a bit more descriptive.
    * svg/SVGDocumentExtensions.h:
    * svg/SVGElement.cpp:
    (WebCore::SVGElement::buildPendingResourcesIfNeeded):
    * svg/SVGMPathElement.cpp:
    (WebCore::SVGMPathElement::buildPendingResource):
    * svg/SVGTextPathElement.cpp:
    (WebCore::SVGTextPathElement::buildPendingResource):
    * svg/animation/SVGSMILElement.cpp:
    (WebCore::SVGSMILElement::buildPendingResource):
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162119 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    2c9916ff