Index: Source/core/css/CSSPrimitiveValue.cpp |
diff --git a/Source/core/css/CSSPrimitiveValue.cpp b/Source/core/css/CSSPrimitiveValue.cpp |
index 71f8a930060d2a2db80cbe3c42d3c4f2a1d19137..b978f838f2d0db68b0b631475cb9c0fb51554505 100644 |
--- a/Source/core/css/CSSPrimitiveValue.cpp |
+++ b/Source/core/css/CSSPrimitiveValue.cpp |
@@ -31,7 +31,7 @@ |
#include "core/css/Rect.h" |
#include "core/css/StyleSheetContents.h" |
#include "core/dom/Node.h" |
-#include "core/layout/style/LayoutStyle.h" |
+#include "core/layout/style/ComputedStyle.h" |
#include "platform/Decimal.h" |
#include "platform/LayoutUnit.h" |
#include "platform/fonts/FontMetrics.h" |
@@ -314,7 +314,7 @@ CSSPrimitiveValue::CSSPrimitiveValue(const String& str, UnitType type) |
m_value.string->ref(); |
} |
-CSSPrimitiveValue::CSSPrimitiveValue(const LengthSize& lengthSize, const LayoutStyle& style) |
+CSSPrimitiveValue::CSSPrimitiveValue(const LengthSize& lengthSize, const ComputedStyle& style) |
: CSSValue(PrimitiveClass) |
{ |
init(lengthSize, style); |
@@ -400,7 +400,7 @@ CSSPrimitiveValue::CSSPrimitiveValue(const Length& length, float zoom) |
} |
} |
-void CSSPrimitiveValue::init(const LengthSize& lengthSize, const LayoutStyle& style) |
+void CSSPrimitiveValue::init(const LengthSize& lengthSize, const ComputedStyle& style) |
{ |
m_primitiveUnitType = CSS_PAIR; |
m_hasCachedCSSText = false; |