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

Unified Diff: Source/core/svg/SVGGradientElement.h

Issue 153883003: [SVG] SVGAnimatedTransform{,List} migration to new SVG property impl. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: remove m_zoomAndPan Created 6 years, 10 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/SVGAnimatorFactory.h ('k') | Source/core/svg/SVGGradientElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGGradientElement.h
diff --git a/Source/core/svg/SVGGradientElement.h b/Source/core/svg/SVGGradientElement.h
index 7664621d933f56e56aaa792481398cb022b80185..3e91fcf2bf2e54ce8a5b6ba62ffa607da7feff62 100644
--- a/Source/core/svg/SVGGradientElement.h
+++ b/Source/core/svg/SVGGradientElement.h
@@ -52,6 +52,7 @@ public:
Vector<Gradient::ColorStop> buildStops();
+ SVGAnimatedTransformList* gradientTransform() { return m_gradientTransform.get(); }
SVGAnimatedEnumeration<SVGSpreadMethodType>* spreadMethod() { return m_spreadMethod.get(); }
SVGAnimatedEnumeration<SVGUnitTypes::SVGUnitType>* gradientUnits() { return m_gradientUnits.get(); }
@@ -67,10 +68,10 @@ private:
virtual void childrenChanged(bool changedByParser = false, Node* beforeChange = 0, Node* afterChange = 0, int childCountDelta = 0) OVERRIDE FINAL;
+ RefPtr<SVGAnimatedTransformList> m_gradientTransform;
RefPtr<SVGAnimatedEnumeration<SVGSpreadMethodType> > m_spreadMethod;
RefPtr<SVGAnimatedEnumeration<SVGUnitTypes::SVGUnitType> > m_gradientUnits;
BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGGradientElement)
- DECLARE_ANIMATED_TRANSFORM_LIST(GradientTransform, gradientTransform)
END_DECLARE_ANIMATED_PROPERTIES
};
« no previous file with comments | « Source/core/svg/SVGAnimatorFactory.h ('k') | Source/core/svg/SVGGradientElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698