Support cast between CSSPrimitiveValue and ETransformStyle3D and use in CSSStyleSelector.
https://bugs.webkit.org/show_bug.cgi?id=66273 Reviewed by Simon Fraser. No new tests - no functionality changed - refactoring only. * css/CSSPrimitiveValueMappings.h: (WebCore::CSSPrimitiveValue::CSSPrimitiveValue): Define cast from CSSPrimitiveValue to ETransformStyle3D. (WebCore::CSSPrimitiveValue::operator ETransformStyle3D): Define cast from ETransformStyle3D to CSSPrimitiveValue. * css/CSSStyleSelector.cpp: (WebCore::CSSStyleSelector::applyProperty): Use appropriate macro to handle CSSPropertyWebkitTransformStyle. git-svn-id: svn://svn.chromium.org/blink/trunk@93110 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Showing
Please register or sign in to comment