Bug 136578

Summary: CTTE: SVGResourcesCache should only allow RenderElements.
Product: WebKit Reporter: Andreas Kling <kling>
Component: SVGAssignee: Andreas Kling <kling>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, d-r, esprehn+autocc, fmalita, glenn, gyuyoung.kim, kling, kondapallykalyan, pdr, schenney, sergio, zimmermann
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch koivisto: review+

Description Andreas Kling 2014-09-05 10:56:32 PDT
CTTE: SVGResourcesCache should only allow RenderElements.
Comment 1 Andreas Kling 2014-09-05 10:58:14 PDT
Created attachment 237699 [details]
Patch
Comment 2 Antti Koivisto 2014-09-05 11:18:06 PDT
Comment on attachment 237699 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=237699&action=review

> Source/WebCore/rendering/svg/SVGRenderingContext.cpp:159
> +    SVGResources* resources = SVGResourcesCache::cachedResourcesForRenderer(*m_renderer);

I would use auto*
Comment 3 Andreas Kling 2014-09-05 12:32:17 PDT
Committed r173325: <http://trac.webkit.org/changeset/173325>