DescriptionAdd toSVGColor|Paint() to cleanup static_cast<>, and use it
SVGColor and SVGPaint can't use DEFINE_CSS_VALUE_TYPE_CASTS(), this cl adds
toSVGColor() and toSVGPaint() manually. Those functions will help to detect
bad type cast.
BUG=N/A
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=159425
Patch Set 1 #Patch Set 2 : Cover static_cast<const SVGPaint|Color*> #
Messages
Total messages: 8 (0 generated)
|