Index: Source/core/css/CSSPrimitiveValueMappings.h |
diff --git a/Source/core/css/CSSPrimitiveValueMappings.h b/Source/core/css/CSSPrimitiveValueMappings.h |
index 4b5b0a4c8493ad9548173f1ff8e6c1a91db761cc..17a7b9b5fd25e286267960047bbe307a88cd2eaa 100644 |
--- a/Source/core/css/CSSPrimitiveValueMappings.h |
+++ b/Source/core/css/CSSPrimitiveValueMappings.h |
@@ -4452,8 +4452,6 @@ template<int supported> Length CSSPrimitiveValue::convertToLength(const CSSToLen |
return Length(Auto); |
if ((supported & FixedConversion) && (supported & PercentConversion) && isCalculated()) |
return Length(cssCalcValue()->toCalcValue(conversionData)); |
- if ((supported & FixedConversion) && isViewportPercentageLength()) |
- return viewportPercentageLength(); |
return Length(Undefined); |
} |