Index: third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.cpp |
diff --git a/third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.cpp b/third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.cpp |
index a67e8ed8d2c0614de0ba8d3b01a9dec99d3ab203..6b05b500d9f528024030adedc9eb7593059cfb2b 100644 |
--- a/third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.cpp |
+++ b/third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.cpp |
@@ -508,7 +508,7 @@ float SVGLayoutSupport::calculateScreenFontSizeScalingFactor(const LayoutObject* |
// FIXME: trying to compute a device space transform at record time is wrong. All clients |
// should be updated to avoid relying on this information, and the method should be removed. |
AffineTransform ctm = deprecatedCalculateTransformToLayer(layoutObject) * SubtreeContentTransformScope::currentContentTransformation(); |
- ctm.scale(layoutObject->document().frameHost()->deviceScaleFactor()); |
+ ctm.scale(layoutObject->document().frameHost()->deviceScaleFactorDeprecated()); |
return narrowPrecisionToFloat(sqrt((pow(ctm.xScale(), 2) + pow(ctm.yScale(), 2)) / 2)); |
} |