-
krit@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=114749 Reviewed by Andreas Kling. Refactoring, no new tests. * css/CSSCalculationValue.cpp: (WebCore::CSSCalcValue::computeLengthPx): (WebCore::CSSCalcPrimitiveValue::toCalcValue): (WebCore::CSSCalcPrimitiveValue::computeLengthPx): (WebCore::CSSCalcBinaryOperation::toCalcValue): (WebCore::CSSCalcBinaryOperation::computeLengthPx): * css/CSSCalculationValue.h: (WebCore::CSSCalcValue::toCalcValue): (CSSCalcValue): * css/CSSPrimitiveValue.cpp: (WebCore::CSSPrimitiveValue::computeLength): (WebCore::CSSPrimitiveValue::computeLengthDouble): (WebCore::CSSPrimitiveValue::viewportPercentageLength): * css/CSSPrimitiveValue.h: (CSSPrimitiveValue): * css/CSSPrimitiveValueMappings.h: (WebCore::CSSPrimitiveValue::convertToLength): * css/StyleResolver.cpp: (WebCore::StyleResolver::convertToIntLength): (WebCore::StyleResolver::convertToFloatLength): * css/StyleResolver.h: (StyleResolver): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148619 268f45cc-cd09-0410-ab3c-d52691b4dbfc
af0fcb80