As a step to cleanup static_cast<> for CSSFooValue, this patch adds toCSSFooValue() for "CSSAspectRatioValue, CSSBorderImageSliceValue, CSSFunctionValue, CSSInheritedValue, CSSValueList, CSSVariableValue, and CSSFontFaceSrcValue". To use CSS_VALUE_TYPE_CASTS, isFunctionValue(), isFontFaceSrcValue() are added to generate toCSSFunctionValue, toCSSFontFaceSrcValue().
Created attachment 213075 [details] Patch
Comment on attachment 213075 [details] Patch Please run WebKit tests before landing this. The last toXXX patch was hitting assertions a lot on the bots.
(In reply to comment #2) > (From update of attachment 213075 [details]) > Please run WebKit tests before landing this. The last toXXX patch was hitting assertions a lot on the bots. Ok, I will land after checking if regression happens.
Comment on attachment 213075 [details] Patch I ran layout test on mac wk2 as debug. It looks there is no regression there.
Comment on attachment 213075 [details] Patch Clearing flags on attachment: 213075 Committed r156760: <http://trac.webkit.org/changeset/156760>
All reviewed patches have been landed. Closing bug.