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

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

Issue 148173018: [SVG] SVGAnimatedString{,List} migration to new SVG property impl. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: remove if 0 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
Index: Source/core/svg/SVGMPathElement.h
diff --git a/Source/core/svg/SVGMPathElement.h b/Source/core/svg/SVGMPathElement.h
index 6d88206cf34c8d19cdaf14484749b6e180b6283f..334714a9daf082493b7dde4397dbb92109b9b6b7 100644
--- a/Source/core/svg/SVGMPathElement.h
+++ b/Source/core/svg/SVGMPathElement.h
@@ -40,6 +40,7 @@ public:
SVGPathElement* pathElement();
void targetPathChanged();
+ SVGAnimatedString* href() { return m_href.get(); }
private:
explicit SVGMPathElement(Document&);
@@ -56,8 +57,8 @@ private:
virtual bool rendererIsNeeded(const RenderStyle&) OVERRIDE { return false; }
void notifyParentOfPathChange(ContainerNode*);
+ RefPtr<SVGAnimatedString> m_href;
BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGMPathElement)
- DECLARE_ANIMATED_STRING(Href, href)
END_DECLARE_ANIMATED_PROPERTIES
};

Powered by Google App Engine
This is Rietveld 408576698