Index: Source/core/css/CSSPrimitiveValueMappings.h |
diff --git a/Source/core/css/CSSPrimitiveValueMappings.h b/Source/core/css/CSSPrimitiveValueMappings.h |
index 3f386133793d5f76d7d855d3902bd8385b9c0eec..b2442e7709cf3df4035038095b98875318556b64 100755 |
--- 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); |
} |