Index: Source/core/css/CSSCalculationValue.h |
diff --git a/Source/core/css/CSSCalculationValue.h b/Source/core/css/CSSCalculationValue.h |
index e99d4a11ce9edf2afc4476462b42982f0ce63f4e..36e773b6499537347c43775679b8a32f15eb8cb6 100644 |
--- a/Source/core/css/CSSCalculationValue.h |
+++ b/Source/core/css/CSSCalculationValue.h |
@@ -43,6 +43,7 @@ namespace WebCore { |
class CSSParserValueList; |
class CSSValueList; |
+class CSSLengthData; |
class CalculationValue; |
class CalcExpressionNode; |
class Length; |
@@ -67,7 +68,7 @@ public: |
virtual bool isZero() const = 0; |
virtual PassOwnPtr<CalcExpressionNode> toCalcValue(const CSSToLengthConversionData&) const = 0; |
virtual double doubleValue() const = 0; |
- virtual double computeLengthPx(const CSSToLengthConversionData&) const = 0; |
+ virtual double computeLengthPx(const CSSLengthData*) const = 0; |
virtual String customCSSText() const = 0; |
virtual bool equals(const CSSCalcExpressionNode& other) const { return m_category == other.m_category && m_isInteger == other.m_isInteger; } |
virtual Type type() const = 0; |
@@ -109,7 +110,7 @@ public: |
double doubleValue() const; |
bool isNegative() const { return m_expression->doubleValue() < 0; } |
ValueRange permittedValueRange() { return m_nonNegative ? ValueRangeNonNegative : ValueRangeAll; } |
- double computeLengthPx(const CSSToLengthConversionData&) const; |
+ double computeLengthPx(const CSSLengthData*) const; |
CSSCalcExpressionNode* expressionNode() const { return m_expression.get(); } |
String customCSSText() const; |