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

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

Issue 660653004: Move supplemental transform to rare data (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Patch for landing Created 6 years, 2 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
« no previous file with comments | « Source/core/svg/SVGElementRareData.h ('k') | Source/core/svg/SVGGraphicsElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGElementRareData.cpp
diff --git a/Source/core/svg/SVGElementRareData.cpp b/Source/core/svg/SVGElementRareData.cpp
index e95f6e3c85a6570f8fdbaff6100442ca335705f6..2d8afc9dabb3a4747ecc0cb2a93fff79bb8d85bb 100644
--- a/Source/core/svg/SVGElementRareData.cpp
+++ b/Source/core/svg/SVGElementRareData.cpp
@@ -9,6 +9,7 @@
#include "core/css/resolver/StyleResolver.h"
#include "core/dom/Document.h"
#include "core/svg/SVGCursorElement.h"
+#include "platform/transforms/AffineTransform.h"
namespace blink {
@@ -67,5 +68,11 @@ void SVGElementRareData::processWeakMembers(Visitor* visitor)
#endif
}
+AffineTransform* SVGElementRareData::animateMotionTransform()
+{
+ if (!m_animateMotionTransform)
+ m_animateMotionTransform = adoptPtr(new AffineTransform);
+ return m_animateMotionTransform.get();
+}
}
« no previous file with comments | « Source/core/svg/SVGElementRareData.h ('k') | Source/core/svg/SVGGraphicsElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698