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

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

Issue 132233010: [SVG] SVGAnimatedRect migration to new SVG property impl. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebsaed Created 6 years, 11 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/SVGSVGElement.idl ('k') | Source/core/svg/SVGSymbolElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGSymbolElement.h
diff --git a/Source/core/svg/SVGSymbolElement.h b/Source/core/svg/SVGSymbolElement.h
index f5f4954b57e3efd2ff5f06c73039a9c6bb078565..a1d6e1ec196ca2a887aed766a7e0a06615829a8a 100644
--- a/Source/core/svg/SVGSymbolElement.h
+++ b/Source/core/svg/SVGSymbolElement.h
@@ -34,6 +34,8 @@ class SVGSymbolElement FINAL : public SVGElement,
public:
static PassRefPtr<SVGSymbolElement> create(Document&);
+ SVGAnimatedRect* viewBox() const { return m_viewBox.get(); }
+
private:
explicit SVGSymbolElement(Document&);
@@ -47,8 +49,8 @@ private:
virtual bool selfHasRelativeLengths() const OVERRIDE;
+ RefPtr<SVGAnimatedRect> m_viewBox;
BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGSymbolElement)
- DECLARE_ANIMATED_RECT(ViewBox, viewBox)
DECLARE_ANIMATED_PRESERVEASPECTRATIO(PreserveAspectRatio, preserveAspectRatio)
END_DECLARE_ANIMATED_PROPERTIES
};
« no previous file with comments | « Source/core/svg/SVGSVGElement.idl ('k') | Source/core/svg/SVGSymbolElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698