Summary: | CTTE: RenderSVGGradientStop always has a SVGStopElement. | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Andreas Kling <kling> | ||||
Component: | Layout and Rendering | Assignee: | 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
Andreas Kling
2014-02-03 10:28:07 PST
Created attachment 222997 [details]
Patch
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? Committed r163319: <http://trac.webkit.org/changeset/163319> |