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

Unified Diff: third_party/WebKit/Source/core/layout/svg/LayoutSVGImage.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/LayoutSVGImage.cpp
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGImage.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGImage.cpp
index 4a5ad33711074fbe8eb79fdc9524b786b898657d..90b10140ba49f9d70415b233dc229a2b514d7436 100644
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGImage.cpp
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGImage.cpp
@@ -127,8 +127,8 @@ void LayoutSVGImage::layout() {
bool updateParentBoundaries = false;
if (m_needsTransformUpdate) {
- m_localTransform =
- toSVGImageElement(element())->calculateAnimatedLocalTransform();
+ m_localTransform = toSVGImageElement(element())->calculateTransform(
+ SVGElement::IncludeMotionTransform);
m_needsTransformUpdate = false;
updateParentBoundaries = true;
}

Powered by Google App Engine
This is Rietveld 408576698