Bug 128107

Summary: CTTE: RenderSVGGradientStop always has a SVGStopElement.
Product: WebKit Reporter: Andreas Kling <kling>
Component: Layout and RenderingAssignee: Andreas Kling <kling>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, d-r, esprehn+autocc, fmalita, glenn, gyuyoung.kim, kling, kondapallykalyan, pdr, schenney
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch darin: review+

Description Andreas Kling 2014-02-03 10:28:07 PST
CTTE: RenderSVGGradientStop always has a SVGStopElement.
Comment 1 Andreas Kling 2014-02-03 10:28:40 PST
Created attachment 222997 [details]
Patch
Comment 2 Darin Adler 2014-02-03 11:49:11 PST
Comment on attachment 222997 [details]
Patch

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

> Source/WebCore/rendering/svg/RenderSVGGradientStop.h:39
> +    SVGStopElement& element() const { return static_cast<SVGStopElement&>(RenderObject::nodeForNonAnonymous()); }

Why can’t this use toSVGStopElement?
Comment 3 Andreas Kling 2014-02-03 12:21:20 PST
Committed r163319: <http://trac.webkit.org/changeset/163319>