Bug 128107 - CTTE: RenderSVGGradientStop always has a SVGStopElement.
Summary: CTTE: RenderSVGGradientStop always has a SVGStopElement.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Andreas Kling
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-03 10:28 PST by Andreas Kling
Modified: 2014-02-03 12:21 PST (History)
10 users (show)

See Also:


Attachments
Patch (6.27 KB, patch)
2014-02-03 10:28 PST, Andreas Kling
darin: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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>