Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1165)

Unified Diff: Source/core/svg/SVGTextElement.cpp

Issue 19097005: Remove one SVG animated type special case from the bindings generator (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix the regressions Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/svg/SVGTextElement.cpp
diff --git a/Source/core/svg/SVGTextElement.cpp b/Source/core/svg/SVGTextElement.cpp
index ff7288337f2f40af142a662d8951829789902a96..ef3a4a30d990f5a4e54edb02ba07bf75904c061e 100644
--- a/Source/core/svg/SVGTextElement.cpp
+++ b/Source/core/svg/SVGTextElement.cpp
@@ -57,8 +57,9 @@ AffineTransform SVGTextElement::animatedLocalTransform() const
style->applyTransform(t, IntSize(0, 0), RenderStyle::ExcludeTransformOrigin);
// Flatten any 3D transform
matrix = t.toAffineTransform();
- } else
- transform().concatenate(matrix);
+ } else {
+ transformCurrentValue().concatenate(matrix);
+ }
const AffineTransform* transform = const_cast<SVGTextElement*>(this)->supplementalTransform();
if (transform)

Powered by Google App Engine
This is Rietveld 408576698