Index: Source/core/css/resolver/StyleBuilderCustom.h |
diff --git a/Source/core/css/resolver/StyleBuilderCustom.h b/Source/core/css/resolver/StyleBuilderCustom.h |
index 597c5019b2525b85b226c5221e34936819992534..6fd471001cb0967e59841df1a2247c30c7f0930d 100644 |
--- a/Source/core/css/resolver/StyleBuilderCustom.h |
+++ b/Source/core/css/resolver/StyleBuilderCustom.h |
@@ -53,9 +53,8 @@ public: |
template <typename T> |
T StyleBuilderConverter::convertComputedLength(StyleResolverState& state, CSSValue* value) |
{ |
- CSSPrimitiveValue* primitiveValue = toCSSPrimitiveValue(value); |
float zoom = state.style()->effectiveZoom(); |
- return primitiveValue->computeLength<T>(state.style(), state.rootElementStyle(), zoom); |
+ return toCSSPrimitiveValue(value)->computeLength<T>(state.style(), state.rootElementStyle(), zoom); |
} |
template <typename T> |