Index: Source/core/rendering/svg/RenderSVGRoot.cpp |
diff --git a/Source/core/rendering/svg/RenderSVGRoot.cpp b/Source/core/rendering/svg/RenderSVGRoot.cpp |
index 15b470441afda3bf338a0dfe77dc7b7c45e55255..c2b0f15197435f677fd4ea275c4795ddb7bb5361 100644 |
--- a/Source/core/rendering/svg/RenderSVGRoot.cpp |
+++ b/Source/core/rendering/svg/RenderSVGRoot.cpp |
@@ -358,10 +358,10 @@ void RenderSVGRoot::buildLocalToBorderBoxTransform() |
SVGSVGElement* svg = toSVGSVGElement(node()); |
ASSERT(svg); |
float scale = style()->effectiveZoom(); |
- FloatPoint translate = svg->currentTranslate(); |
+ SVGPoint translate = svg->currentTranslate(); |
LayoutSize borderAndPadding(borderLeft() + paddingLeft(), borderTop() + paddingTop()); |
m_localToBorderBoxTransform = svg->viewBoxToViewTransform(contentWidth() / scale, contentHeight() / scale); |
- if (borderAndPadding.isEmpty() && scale == 1 && translate == FloatPoint::zero()) |
+ if (borderAndPadding.isEmpty() && scale == 1 && translate == SVGPoint::zero()) |
return; |
m_localToBorderBoxTransform = AffineTransform(scale, 0, 0, scale, borderAndPadding.width() + translate.x(), borderAndPadding.height() + translate.y()) * m_localToBorderBoxTransform; |
} |