Index: Source/core/rendering/svg/SVGInlineTextBox.cpp |
diff --git a/Source/core/rendering/svg/SVGInlineTextBox.cpp b/Source/core/rendering/svg/SVGInlineTextBox.cpp |
index 9c9da2f72e5f29a7cde7d3fc8b63c638e48dea39..a5dc2fc742cfec09d39bcbf618eb1d3d2b314233 100644 |
--- a/Source/core/rendering/svg/SVGInlineTextBox.cpp |
+++ b/Source/core/rendering/svg/SVGInlineTextBox.cpp |
@@ -596,7 +596,7 @@ void SVGInlineTextBox::paintDecorationWithStyle(GraphicsContext* context, TextDe |
stateSaver.save(); |
width *= scalingFactor; |
decorationOrigin.scale(scalingFactor, scalingFactor); |
- context->scale(FloatSize(1 / scalingFactor, 1 / scalingFactor)); |
+ context->scale(1 / scalingFactor, 1 / scalingFactor); |
} |
decorationOrigin.move(0, -scaledFontMetrics.floatAscent() + positionOffsetForDecoration(decoration, scaledFontMetrics, thickness)); |
@@ -632,7 +632,7 @@ void SVGInlineTextBox::paintTextWithShadows(GraphicsContext* context, RenderStyl |
textOrigin.scale(scalingFactor, scalingFactor); |
textSize.scale(scalingFactor); |
context->save(); |
- context->scale(FloatSize(1 / scalingFactor, 1 / scalingFactor)); |
+ context->scale(1 / scalingFactor, 1 / scalingFactor); |
} |
if (hasShadow) { |