Index: Source/core/css/resolver/StyleBuilderConverter.cpp |
diff --git a/Source/core/css/resolver/StyleBuilderConverter.cpp b/Source/core/css/resolver/StyleBuilderConverter.cpp |
index b54a86e90ba8451350ce1553822bc57855c236b6..63ebff297b5ffa3532e3acd1fae1c83337b9a0d0 100644 |
--- a/Source/core/css/resolver/StyleBuilderConverter.cpp |
+++ b/Source/core/css/resolver/StyleBuilderConverter.cpp |
@@ -506,6 +506,13 @@ Length StyleBuilderConverter::convertLengthOrAuto(const StyleResolverState& stat |
return primitiveValue->convertToLength(state.cssToLengthConversionData()); |
} |
+Length StyleBuilderConverter::convertLengthUnzoomed(const StyleResolverState& state, CSSValue* value) |
+{ |
+ CSSPrimitiveValue* primitiveValue = toCSSPrimitiveValue(value); |
+ CSSToLengthConversionData conversionData = state.cssToLengthConversionData().copyWithAdjustedZoom(1.0f); |
+ return primitiveValue->convertToLength(conversionData); |
+} |
+ |
Length StyleBuilderConverter::convertLengthSizing(StyleResolverState& state, CSSValue* value) |
{ |
CSSPrimitiveValue* primitiveValue = toCSSPrimitiveValue(value); |