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

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: 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
Index: Source/core/svg/SVGGradientElement.h
diff --git a/Source/core/svg/SVGGradientElement.h b/Source/core/svg/SVGGradientElement.h
index 30ef67554a14bb1a2d8ed23a2d6f3e9f87e6f151..b2abd30c91940653aa71f9188bf6edbf6197bff7 100644
--- a/Source/core/svg/SVGGradientElement.h
+++ b/Source/core/svg/SVGGradientElement.h
@@ -85,6 +85,7 @@ public:
Vector<Gradient::ColorStop> buildStops();
SVGAnimatedString* href() { return m_href.get(); }
+ SVGAnimatedTransformList* gradientTransform() { return m_gradientTransform.get(); }
protected:
SVGGradientElement(const QualifiedName&, Document&);
@@ -99,10 +100,10 @@ private:
virtual void childrenChanged(bool changedByParser = false, Node* beforeChange = 0, Node* afterChange = 0, int childCountDelta = 0) OVERRIDE FINAL;
RefPtr<SVGAnimatedString> m_href;
+ RefPtr<SVGAnimatedTransformList> m_gradientTransform;
BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGGradientElement)
DECLARE_ANIMATED_ENUMERATION(SpreadMethod, spreadMethod, SVGSpreadMethodType)
DECLARE_ANIMATED_ENUMERATION(GradientUnits, gradientUnits, SVGUnitTypes::SVGUnitType)
- DECLARE_ANIMATED_TRANSFORM_LIST(GradientTransform, gradientTransform)
END_DECLARE_ANIMATED_PROPERTIES
};

Powered by Google App Engine
This is Rietveld 408576698