Index: Source/core/css/CSSCalculationValueTest.cpp |
diff --git a/Source/core/css/CSSCalculationValueTest.cpp b/Source/core/css/CSSCalculationValueTest.cpp |
index 38627035f6d2df376770a26f155deaff89660cfb..3e3f7068218f2b13f8d8746a1f920e39915f6c22 100644 |
--- a/Source/core/css/CSSCalculationValueTest.cpp |
+++ b/Source/core/css/CSSCalculationValueTest.cpp |
@@ -34,7 +34,7 @@ |
#include "core/css/CSSPrimitiveValue.h" |
#include "core/css/CSSToLengthConversionData.h" |
#include "core/css/StylePropertySet.h" |
-#include "core/layout/style/LayoutStyle.h" |
+#include "core/layout/style/ComputedStyle.h" |
#include "core/layout/style/StyleInheritedData.h" |
#include <gtest/gtest.h> |
@@ -89,7 +89,7 @@ bool lengthArraysEqual(CSSLengthArray& a, CSSLengthArray& b) |
TEST(CSSCalculationValue, AccumulatePixelsAndPercent) |
{ |
- RefPtr<LayoutStyle> style = LayoutStyle::create(); |
+ RefPtr<ComputedStyle> style = ComputedStyle::create(); |
style->setEffectiveZoom(5); |
CSSToLengthConversionData conversionData(style.get(), style.get(), nullptr, style->effectiveZoom()); |