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

Unified Diff: third_party/WebKit/Source/core/layout/svg/LayoutSVGTransformableContainer.cpp

Issue 2478233002: Make 'transform' a presentation attribute on SVG elements (Closed)
Patch Set: Rebase Created 4 years, 1 month 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: third_party/WebKit/Source/core/layout/svg/LayoutSVGTransformableContainer.cpp
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGTransformableContainer.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGTransformableContainer.cpp
index f4729f3fc12bdd2dde7c896ca2f053035ba70253..9ce3b01a0e1ed8c65df73d84ace9bab582444e81 100644
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGTransformableContainer.cpp
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGTransformableContainer.cpp
@@ -105,7 +105,8 @@ SVGTransformChange LayoutSVGTransformableContainer::calculateLocalTransform() {
return SVGTransformChange::None;
SVGTransformChangeDetector changeDetector(m_localTransform);
- m_localTransform = element->calculateAnimatedLocalTransform();
+ m_localTransform =
+ element->calculateTransform(SVGElement::IncludeMotionTransform);
m_localTransform.translate(m_additionalTranslation.width(),
m_additionalTranslation.height());
m_needsTransformUpdate = false;

Powered by Google App Engine
This is Rietveld 408576698