Index: Source/core/css/CSSPrimitiveValue.h |
diff --git a/Source/core/css/CSSPrimitiveValue.h b/Source/core/css/CSSPrimitiveValue.h |
index 7d92eb8151e3a970a29b6ea327be9337a50f0826..8f56c8f170b26a05fad959773d628ed4e72334e1 100644 |
--- a/Source/core/css/CSSPrimitiveValue.h |
+++ b/Source/core/css/CSSPrimitiveValue.h |
@@ -35,6 +35,7 @@ namespace WebCore { |
class CSSBasicShape; |
class CSSCalcValue; |
class CSSToLengthConversionData; |
+class CSSLengthData; |
class Counter; |
class ExceptionState; |
class Length; |
@@ -283,7 +284,7 @@ public: |
* this is screen/printer dependent, so we probably need a config option for this, |
* and some tool to calibrate. |
*/ |
- template<typename T> T computeLength(const CSSToLengthConversionData&); |
+ template<typename T> T computeLength(const CSSLengthData&); |
// Converts to a Length, mapping various unit types appropriately. |
template<int> Length convertToLength(const CSSToLengthConversionData&); |
@@ -390,7 +391,7 @@ private: |
void init(PassRefPtrWillBeRawPtr<CSSCalcValue>); |
bool getDoubleValueInternal(UnitTypes targetUnitType, double* result) const; |
- double computeLengthDouble(const CSSToLengthConversionData&); |
+ double computeLengthDouble(const CSSLengthData*); |
union { |
CSSPropertyID propertyID; |