Index: Source/core/css/CSSCalculationValueTest.cpp |
diff --git a/Source/core/css/CSSCalculationValueTest.cpp b/Source/core/css/CSSCalculationValueTest.cpp |
index b3e553024f1cb8a7809c0e7e4d6c9a4a5413dfb1..14476a8462b42e813fe1b57e5417b9b5338a7b03 100644 |
--- a/Source/core/css/CSSCalculationValueTest.cpp |
+++ b/Source/core/css/CSSCalculationValueTest.cpp |
@@ -91,7 +91,7 @@ TEST(CSSCalculationValue, AccumulatePixelsAndPercent) |
{ |
RefPtr<RenderStyle> style = RenderStyle::createDefaultStyle(); |
style->setEffectiveZoom(5); |
- CSSToLengthConversionData conversionData(style.get(), style.get(), 0); |
+ CSSToLengthConversionData conversionData(style.get(), style.get(), nullptr, style->effectiveZoom()); |
testAccumulatePixelsAndPercent(conversionData, |
CSSCalcValue::createExpressionNode(CSSPrimitiveValue::create(10, CSSPrimitiveValue::CSS_PX), true), |