| Index: Source/core/css/resolver/StyleBuilderCustom.cpp
|
| diff --git a/Source/core/css/resolver/StyleBuilderCustom.cpp b/Source/core/css/resolver/StyleBuilderCustom.cpp
|
| index 1e65de9b040149ebf521bdd7d97bd5651054aa30..6730dbcc743475bafcb3413fd2b6b9a20902d8ca 100644
|
| --- a/Source/core/css/resolver/StyleBuilderCustom.cpp
|
| +++ b/Source/core/css/resolver/StyleBuilderCustom.cpp
|
| @@ -1010,47 +1010,6 @@ void StyleBuilderFunctions::applyValueCSSPropertyWebkitAppRegion(StyleResolverSt
|
| state.document().setHasAnnotatedRegions(true);
|
| }
|
|
|
| -void StyleBuilderFunctions::applyInitialCSSPropertyWebkitPerspective(StyleResolverState& state)
|
| -{
|
| - applyInitialCSSPropertyPerspective(state);
|
| -}
|
| -
|
| -void StyleBuilderFunctions::applyInheritCSSPropertyWebkitPerspective(StyleResolverState& state)
|
| -{
|
| - applyInheritCSSPropertyPerspective(state);
|
| -}
|
| -
|
| -void StyleBuilderFunctions::applyValueCSSPropertyWebkitPerspective(StyleResolverState& state, CSSValue* value)
|
| -{
|
| - if (!value->isPrimitiveValue())
|
| - return;
|
| - CSSPrimitiveValue* primitiveValue = toCSSPrimitiveValue(value);
|
| - if (primitiveValue->isNumber()) {
|
| - float perspectiveValue = CSSPrimitiveValue::create(primitiveValue->getDoubleValue(), CSSPrimitiveValue::CSS_PX)->computeLength<float>(state.cssToLengthConversionData());
|
| - if (perspectiveValue >= 0.0f)
|
| - state.style()->setPerspective(perspectiveValue);
|
| - } else {
|
| - applyValueCSSPropertyPerspective(state, value);
|
| - }
|
| -}
|
| -
|
| -void StyleBuilderFunctions::applyValueCSSPropertyPerspective(StyleResolverState& state, CSSValue* value)
|
| -{
|
| - if (!value->isPrimitiveValue())
|
| - return;
|
| - CSSPrimitiveValue* primitiveValue = toCSSPrimitiveValue(value);
|
| - if (primitiveValue->getValueID() == CSSValueNone) {
|
| - state.style()->setPerspective(0);
|
| - return;
|
| - }
|
| -
|
| - if (!primitiveValue->isLength())
|
| - return;
|
| - float perspectiveValue = primitiveValue->computeLength<float>(state.cssToLengthConversionData());
|
| - if (perspectiveValue >= 0.0f)
|
| - state.style()->setPerspective(perspectiveValue);
|
| -}
|
| -
|
| void StyleBuilderFunctions::applyValueCSSPropertyWebkitWritingMode(StyleResolverState& state, CSSValue* value)
|
| {
|
| if (value->isPrimitiveValue())
|
|
|