Summary: | Replace RenderSVGResource::cast<T>() with downcast<T>() | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Zan Dobersek <zan> | ||||
Component: | WebCore Misc. | Assignee: | Zan Dobersek <zan> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | cdumez, commit-queue, darin, dino, d-r, esprehn+autocc, fmalita, glenn, gyuyoung.kim, kondapallykalyan, pdr, schenney, sergio | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Zan Dobersek
2014-11-02 05:41:59 PST
Created attachment 241578 [details]
Patch
Comment on attachment 241578 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=241578&action=review r=me > Source/WebCore/rendering/svg/RenderSVGResourceContainer.h:94 > + RenderSVGResource* container = getRenderSVGResourceContainerById(document, id); I don't see any compilation error if I use auto* here. Are you sure this is needed? Comment on attachment 241578 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=241578&action=review >> Source/WebCore/rendering/svg/RenderSVGResourceContainer.h:94 >> + RenderSVGResource* container = getRenderSVGResourceContainerById(document, id); > > I don't see any compilation error if I use auto* here. Are you sure this is needed? Yes, a compilation error is thrown when specializing RenderSVGResourceFilter type traits for both RenderObject and RenderSVGResource. Comment on attachment 241578 [details] Patch Clearing flags on attachment: 241578 Committed r176180: <http://trac.webkit.org/changeset/176180> All reviewed patches have been landed. Closing bug. |