Index: Source/core/css/resolver/StyleBuilderConverter.cpp |
diff --git a/Source/core/css/resolver/StyleBuilderConverter.cpp b/Source/core/css/resolver/StyleBuilderConverter.cpp |
index 2865fd4d8d7cdf5b258fa7fa84ea1ef713cc3804..3686ccb0061d81c9c3889a91478582653d329611 100644 |
--- a/Source/core/css/resolver/StyleBuilderConverter.cpp |
+++ b/Source/core/css/resolver/StyleBuilderConverter.cpp |
@@ -508,6 +508,11 @@ Length StyleBuilderConverter::convertLength(const StyleResolverState& state, CSS |
return toCSSPrimitiveValue(value)->convertToLength(state.cssToLengthConversionData()); |
} |
+UnzoomedLength StyleBuilderConverter::convertUnzoomedLength(const StyleResolverState& state, CSSValue* value) |
+{ |
+ return UnzoomedLength(toCSSPrimitiveValue(value)->convertToLength(state.cssToLengthConversionData().copyWithAdjustedZoom(1.0f))); |
+} |
+ |
Length StyleBuilderConverter::convertLengthOrAuto(const StyleResolverState& state, CSSValue* value) |
{ |
CSSPrimitiveValue* primitiveValue = toCSSPrimitiveValue(value); |
@@ -853,11 +858,6 @@ Color StyleBuilderConverter::convertSVGColor(StyleResolverState& state, CSSValue |
return state.style()->color(); |
} |
-PassRefPtrWillBeRawPtr<SVGLength> StyleBuilderConverter::convertSVGLength(StyleResolverState&, CSSValue* value) |
-{ |
- return SVGLength::fromCSSPrimitiveValue(toCSSPrimitiveValue(value)); |
-} |
- |
float StyleBuilderConverter::convertTextStrokeWidth(StyleResolverState& state, CSSValue* value) |
{ |
CSSPrimitiveValue* primitiveValue = toCSSPrimitiveValue(value); |