| Index: third_party/WebKit/Source/core/css/CSSCalculationValueTest.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/CSSCalculationValueTest.cpp b/third_party/WebKit/Source/core/css/CSSCalculationValueTest.cpp
|
| index 9e4cd3b8292375f65f87d02405348112b2ba5791..7744dba482762aa3643056e8f538a6a66be4883f 100644
|
| --- a/third_party/WebKit/Source/core/css/CSSCalculationValueTest.cpp
|
| +++ b/third_party/WebKit/Source/core/css/CSSCalculationValueTest.cpp
|
| @@ -33,6 +33,7 @@
|
| #include "core/css/CSSPrimitiveValue.h"
|
| #include "core/css/CSSToLengthConversionData.h"
|
| #include "core/css/StylePropertySet.h"
|
| +#include "core/layout/api/LayoutViewItem.h"
|
| #include "core/style/ComputedStyle.h"
|
| #include "core/style/StyleInheritedData.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
| @@ -78,7 +79,7 @@ TEST(CSSCalculationValue, AccumulatePixelsAndPercent)
|
| {
|
| RefPtr<ComputedStyle> style = ComputedStyle::create();
|
| style->setEffectiveZoom(5);
|
| - CSSToLengthConversionData conversionData(style.get(), style.get(), nullptr, style->effectiveZoom());
|
| + CSSToLengthConversionData conversionData(style.get(), style.get(), LayoutViewItem(nullptr), style->effectiveZoom());
|
|
|
| testAccumulatePixelsAndPercent(conversionData,
|
| CSSCalcValue::createExpressionNode(CSSPrimitiveValue::create(10, CSSPrimitiveValue::UnitType::Pixels), true),
|
|
|