Index: Source/core/svg/SVGTextElement.cpp |
diff --git a/Source/core/svg/SVGTextElement.cpp b/Source/core/svg/SVGTextElement.cpp |
index fef8f161338988a871fa7578d7bd164aac5ea166..40d4c55da99b82788f6aa2263d82973c18f0ccd6 100644 |
--- a/Source/core/svg/SVGTextElement.cpp |
+++ b/Source/core/svg/SVGTextElement.cpp |
@@ -48,13 +48,14 @@ AffineTransform SVGTextElement::animatedLocalTransform() const |
{ |
AffineTransform matrix; |
RenderStyle* style = renderer() ? renderer()->style() : 0; |
+ RenderView* renderView = renderer() ? renderer()->view() : 0; |
// if CSS property was set, use that, otherwise fallback to attribute (if set) |
if (style && style->hasTransform()) { |
TransformationMatrix t; |
// For now, the transform-origin is not taken into account |
// Also, any percentage values will not be taken into account |
- style->applyTransform(t, IntSize(0, 0), RenderStyle::ExcludeTransformOrigin); |
+ style->applyTransform(t, IntSize(0, 0), RenderStyle::ExcludeTransformOrigin, renderView); |
// Flatten any 3D transform |
matrix = t.toAffineTransform(); |
} else { |