Index: Source/core/css/CSSPrimitiveValueMappings.h |
diff --git a/Source/core/css/CSSPrimitiveValueMappings.h b/Source/core/css/CSSPrimitiveValueMappings.h |
index 11a477bea44a2dabb72dd622fa590dc278005b87..028fb5926454994624a5faf4b65670aefef02d9d 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(); |
ASSERT_NOT_REACHED(); |
return Length(0, Fixed); |
} |