Index: Source/core/svg/SVGTextElement.cpp |
diff --git a/Source/core/svg/SVGTextElement.cpp b/Source/core/svg/SVGTextElement.cpp |
index 2ad49dfd9a1fcbd2867df64ea13c2ad8cadfe239..00e5d0b6204320742fc48ec175757e835c701182 100644 |
--- a/Source/core/svg/SVGTextElement.cpp |
+++ b/Source/core/svg/SVGTextElement.cpp |
@@ -32,31 +32,6 @@ inline SVGTextElement::SVGTextElement(Document& doc) |
DEFINE_NODE_FACTORY(SVGTextElement) |
-// We override SVGGraphics::animatedLocalTransform() so that the transform-origin |
-// is not taken into account. |
-AffineTransform SVGTextElement::animatedLocalTransform() const |
-{ |
- AffineTransform matrix; |
- RenderStyle* style = renderer() ? renderer()->style() : 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); |
- // Flatten any 3D transform |
- matrix = t.toAffineTransform(); |
- } else { |
- transform()->currentValue()->concatenate(matrix); |
- } |
- |
- const AffineTransform* transform = const_cast<SVGTextElement*>(this)->animateMotionTransform(); |
- if (transform) |
- return *transform * matrix; |
- return matrix; |
-} |
- |
RenderObject* SVGTextElement::createRenderer(RenderStyle*) |
{ |
return new RenderSVGText(this); |