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

Unified Diff: Source/core/svg/SVGPatternElement.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/SVGPatternElement.h
diff --git a/Source/core/svg/SVGPatternElement.h b/Source/core/svg/SVGPatternElement.h
index f92156b1e8643485ba7b89ae533831dbac0ae1f4..1a1aa30145acbfa604874296368009d8533fc410 100644
--- a/Source/core/svg/SVGPatternElement.h
+++ b/Source/core/svg/SVGPatternElement.h
@@ -56,6 +56,8 @@ public:
SVGAnimatedRect* viewBox() const { return m_viewBox.get(); }
SVGAnimatedPreserveAspectRatio* preserveAspectRatio() const { return m_preserveAspectRatio.get(); }
SVGAnimatedString* href() { return m_href.get(); }
+ SVGAnimatedTransformList* patternTransform() { return m_patternTransform.get(); }
+ const SVGAnimatedTransformList* patternTransform() const { return m_patternTransform.get(); }
private:
explicit SVGPatternElement(Document&);
@@ -79,10 +81,10 @@ private:
RefPtr<SVGAnimatedRect> m_viewBox;
RefPtr<SVGAnimatedPreserveAspectRatio> m_preserveAspectRatio;
RefPtr<SVGAnimatedString> m_href;
+ RefPtr<SVGAnimatedTransformList> m_patternTransform;
BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGPatternElement)
DECLARE_ANIMATED_ENUMERATION(PatternUnits, patternUnits, SVGUnitTypes::SVGUnitType)
DECLARE_ANIMATED_ENUMERATION(PatternContentUnits, patternContentUnits, SVGUnitTypes::SVGUnitType)
- DECLARE_ANIMATED_TRANSFORM_LIST(PatternTransform, patternTransform)
END_DECLARE_ANIMATED_PROPERTIES
};

Powered by Google App Engine
This is Rietveld 408576698