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

Unified Diff: third_party/WebKit/Source/core/layout/svg/LayoutSVGText.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/LayoutSVGText.cpp
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGText.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGText.cpp
index e5688e916c765961501517c8839e90f135f2aaea..b2a99e614993c53c2fa5ef8b18eab9232b4a061e 100644
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGText.cpp
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGText.cpp
@@ -181,8 +181,8 @@ void LayoutSVGText::layout() {
bool updateParentBoundaries = false;
if (m_needsTransformUpdate) {
- m_localTransform =
- toSVGTextElement(node())->calculateAnimatedLocalTransform();
+ m_localTransform = toSVGTextElement(node())->calculateTransform(
+ SVGElement::IncludeMotionTransform);
m_needsTransformUpdate = false;
updateParentBoundaries = true;
}

Powered by Google App Engine
This is Rietveld 408576698