Index: Source/core/css/CSSPrimitiveValueMappings.h |
diff --git a/Source/core/css/CSSPrimitiveValueMappings.h b/Source/core/css/CSSPrimitiveValueMappings.h |
index b37f08404bd94cf896840874570c6fa12ba514fe..0bff4daa038826c310d3a598135275b1d4984e1a 100644 |
--- a/Source/core/css/CSSPrimitiveValueMappings.h |
+++ b/Source/core/css/CSSPrimitiveValueMappings.h |
@@ -4447,8 +4447,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); |
} |