| Index: Source/core/css/CSSPrimitiveValue.cpp
|
| diff --git a/Source/core/css/CSSPrimitiveValue.cpp b/Source/core/css/CSSPrimitiveValue.cpp
|
| index b857cc0169a46ad1eafdde564febd0f418158d0e..5126b62650dcd6e86b08fd183d2868e4fc3cf55e 100644
|
| --- a/Source/core/css/CSSPrimitiveValue.cpp
|
| +++ b/Source/core/css/CSSPrimitiveValue.cpp
|
| @@ -595,9 +595,6 @@ template<> double CSSPrimitiveValue::computeLength(const CSSToLengthConversionDa
|
|
|
| double CSSPrimitiveValue::computeLengthDouble(const CSSToLengthConversionData& conversionData)
|
| {
|
| - // The logic in this function is duplicated in MediaValues::computeLength
|
| - // because MediaValues::computeLength needs nearly identical logic, but we haven't found a way to make
|
| - // CSSPrimitiveValue::computeLengthDouble more generic (to solve both cases) without hurting performance.
|
| if (m_primitiveUnitType == CSS_CALC)
|
| return m_value.calc->computeLengthPx(conversionData);
|
|
|
|
|