Index: Source/core/css/BasicShapeFunctions.cpp |
diff --git a/Source/core/css/BasicShapeFunctions.cpp b/Source/core/css/BasicShapeFunctions.cpp |
index 3f827df58b6a132d1863ac049364044bc261e8a2..a49ea1495f13840133cffa33215d08677639a282 100644 |
--- a/Source/core/css/BasicShapeFunctions.cpp |
+++ b/Source/core/css/BasicShapeFunctions.cpp |
@@ -116,7 +116,7 @@ PassRefPtr<CSSValue> valueForBasicShape(const RenderStyle& style, const BasicSha |
static Length convertToLength(const StyleResolverState& state, CSSPrimitiveValue* value) |
{ |
- return value->convertToLength<FixedConversion | PercentConversion>(state.style(), state.rootElementStyle(), state.style()->effectiveZoom()); |
+ return value->convertToLength<FixedConversion | PercentConversion>(state.cssToLengthConversionData()); |
} |
PassRefPtr<BasicShape> basicShapeForValue(const StyleResolverState& state, const CSSBasicShape* basicShapeValue) |