• andersca@apple.com's avatar
    Stop using deleteAllValues in SVG code · 909ece73
    andersca@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=121172
    
    Reviewed by Antti Koivisto.
    
    Use OwnPtr for values instead.
    
    * rendering/svg/RenderSVGResourceClipper.cpp:
    (WebCore::RenderSVGResourceClipper::~RenderSVGResourceClipper):
    (WebCore::RenderSVGResourceClipper::removeAllClientsFromCache):
    (WebCore::RenderSVGResourceClipper::removeClientFromCache):
    (WebCore::RenderSVGResourceClipper::applyClippingToContext):
    * rendering/svg/RenderSVGResourceClipper.h:
    * rendering/svg/RenderSVGResourceFilter.cpp:
    (WebCore::RenderSVGResourceFilter::~RenderSVGResourceFilter):
    (WebCore::RenderSVGResourceFilter::removeAllClientsFromCache):
    (WebCore::RenderSVGResourceFilter::removeClientFromCache):
    (WebCore::RenderSVGResourceFilter::applyResource):
    (WebCore::RenderSVGResourceFilter::postApplyResource):
    (WebCore::RenderSVGResourceFilter::primitiveAttributeChanged):
    * rendering/svg/RenderSVGResourceFilter.h:
    * rendering/svg/RenderSVGResourceMasker.cpp:
    (WebCore::RenderSVGResourceMasker::~RenderSVGResourceMasker):
    (WebCore::RenderSVGResourceMasker::removeAllClientsFromCache):
    (WebCore::RenderSVGResourceMasker::removeClientFromCache):
    (WebCore::RenderSVGResourceMasker::applyResource):
    * rendering/svg/RenderSVGResourceMasker.h:
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155547 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    909ece73
RenderSVGResourceFilter.cpp 14.4 KB