Bug 122630 - Add toSVGColor|Paint() to cleanup static_cast<>, and use it
Summary: Add toSVGColor|Paint() to cleanup static_cast<>, and use it
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Gyuyoung Kim
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-10 19:22 PDT by Gyuyoung Kim
Modified: 2013-10-10 20:35 PDT (History)
10 users (show)

See Also:


Attachments
Patch (7.03 KB, patch)
2013-10-10 19:26 PDT, Gyuyoung Kim
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Gyuyoung Kim 2013-10-10 19:22:43 PDT
SVGColor and SVGPaint can't use CSS_VALUE_TYPE_CASTS(), this cl adds toSVGColor() and toSVGPaint() manually. Those functions will help to detect bad type cast.
Comment 1 Gyuyoung Kim 2013-10-10 19:26:13 PDT
Created attachment 213955 [details]
Patch
Comment 2 WebKit Commit Bot 2013-10-10 20:35:48 PDT
Comment on attachment 213955 [details]
Patch

Clearing flags on attachment: 213955

Committed r157286: <http://trac.webkit.org/changeset/157286>
Comment 3 WebKit Commit Bot 2013-10-10 20:35:51 PDT
All reviewed patches have been landed.  Closing bug.