DescriptionGenerate toCSSFooValue() for CSSAspectRatioValue, CSSBorderImageSliceValue and CSSValueList
This cl cleanup static_cast<CSS*Value> type cast using DEFINE_CSS_VALUE_TYPE_CASTS.
toCSSFooValue() will help to detect bad-casts as well as improve readibility.
CSSAspectRatioValue, CSSBorderImageSliceValue are covered by this cl.
Additionally, CSSValueList uses DEFINE_CSS_VALUE_TYPE_CASTS instead of manual inline functions.
BUG=N/A
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=158297
Patch Set 1 #
Messages
Total messages: 4 (0 generated)
|