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

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

Issue 112003003: [SVG] SVGLength{,List} migration to new SVG property impl. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebaselined Created 7 years 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/SVGTextPathElement.h
diff --git a/Source/core/svg/SVGTextPathElement.h b/Source/core/svg/SVGTextPathElement.h
index 2b7a38c1ead1d50f47265e14e27393cd333900ae..adb4369df74109d1398524698720381be8a90b7b 100644
--- a/Source/core/svg/SVGTextPathElement.h
+++ b/Source/core/svg/SVGTextPathElement.h
@@ -111,6 +111,8 @@ public:
static PassRefPtr<SVGTextPathElement> create(Document&);
+ SVGAnimatedLength* startOffset() const { return m_startOffset.get(); }
+
private:
explicit SVGTextPathElement(Document&);
@@ -132,8 +134,8 @@ private:
virtual bool selfHasRelativeLengths() const;
+ RefPtr<SVGAnimatedLength> m_startOffset;
BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGTextPathElement)
- DECLARE_ANIMATED_LENGTH(StartOffset, startOffset)
DECLARE_ANIMATED_ENUMERATION(Method, method, SVGTextPathMethodType)
DECLARE_ANIMATED_ENUMERATION(Spacing, spacing, SVGTextPathSpacingType)
DECLARE_ANIMATED_STRING(Href, href)

Powered by Google App Engine
This is Rietveld 408576698