Index: third_party/WebKit/WebCore/svg/SVGTransformDistance.cpp |
=================================================================== |
--- third_party/WebKit/WebCore/svg/SVGTransformDistance.cpp (revision 9391) |
+++ third_party/WebKit/WebCore/svg/SVGTransformDistance.cpp (working copy) |
@@ -79,7 +79,7 @@ |
{ |
float scaleX = toSVGTransform.scale().width() - fromSVGTransform.scale().width(); |
float scaleY = toSVGTransform.scale().height() - fromSVGTransform.scale().height(); |
- m_transform.scale(scaleX, scaleY); |
+ m_transform.scaleNonUniform(scaleX, scaleY); |
return; |
} |
case SVGTransform::SVG_TRANSFORM_SKEWX: |
@@ -188,7 +188,7 @@ |
{ |
float scaleX = absoluteValue ? fabsf(transform.scale().width()) : transform.scale().width(); |
float scaleY = absoluteValue ? fabsf(transform.scale().height()) : transform.scale().height(); |
- m_transform.scale(scaleX, scaleY); |
+ m_transform.scaleNonUniform(scaleX, scaleY); |
return; |
} |
case SVGTransform::SVG_TRANSFORM_SKEWX: |