Index: Source/core/css/CSSCalculationValueTest.cpp |
diff --git a/Source/core/css/CSSCalculationValueTest.cpp b/Source/core/css/CSSCalculationValueTest.cpp |
index 687a3ea0a7746b0ab97847f40b4cdb732255b879..5787552378448cd5c3d47c70d174d6fb8f24638c 100644 |
--- a/Source/core/css/CSSCalculationValueTest.cpp |
+++ b/Source/core/css/CSSCalculationValueTest.cpp |
@@ -32,6 +32,7 @@ |
#include "core/css/CSSCalculationValue.h" |
#include "core/css/CSSPrimitiveValue.h" |
+#include "core/css/CSSToLengthConversionData.h" |
#include "core/rendering/style/RenderStyle.h" |
#include "core/rendering/style/StyleInheritedData.h" |
@@ -46,7 +47,7 @@ void testExpression(PassRefPtr<CSSCalcExpressionNode> expression, const RenderSt |
EXPECT_TRUE( |
expression->equals( |
*CSSCalcValue::createExpressionNode( |
- expression->toCalcValue(style, style, style->effectiveZoom()).get(), |
+ expression->toCalcValue(CSSToLengthConversionData(style, style)).get(), |
style->effectiveZoom()).get())); |
} |