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

Unified Diff: Source/core/svg/properties/NewSVGPropertyTearOff.h

Issue 112003003: [SVG] SVGLength{,List} migration to new SVG property impl. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: revert aggressive svgAttributeChanged, add NeedsRebaseline 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/properties/NewSVGProperty.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/properties/NewSVGPropertyTearOff.h
diff --git a/Source/core/svg/properties/NewSVGPropertyTearOff.h b/Source/core/svg/properties/NewSVGPropertyTearOff.h
index 88a3ef93308138b84e82fb439fc521e42fc53090..1e51da21c7a9297750a2454966c064d7ff861123 100644
--- a/Source/core/svg/properties/NewSVGPropertyTearOff.h
+++ b/Source/core/svg/properties/NewSVGPropertyTearOff.h
@@ -61,7 +61,7 @@ public:
return m_ownerList;
}
- void setBelongingList(NewSVGPropertyTearOffBase* ownerList)
+ void setOwnerList(NewSVGPropertyTearOffBase* ownerList)
{
m_ownerList = ownerList;
}
@@ -93,6 +93,8 @@ public:
return m_attributeName;
}
+ virtual AnimatedPropertyType type() const = 0;
+
protected:
NewSVGPropertyTearOffBase(SVGElement* contextElement, PropertyIsAnimValType propertyIsAnimVal, const QualifiedName& attributeName = nullQName())
: m_contextElement(contextElement)
@@ -126,6 +128,11 @@ public:
m_target = target;
}
+ virtual AnimatedPropertyType type() const OVERRIDE
+ {
+ return Property::classType();
+ }
+
protected:
NewSVGPropertyTearOff(PassRefPtr<Property> target, SVGElement* contextElement, PropertyIsAnimValType propertyIsAnimVal, const QualifiedName& attributeName = nullQName())
: NewSVGPropertyTearOffBase(contextElement, propertyIsAnimVal, attributeName)
« no previous file with comments | « Source/core/svg/properties/NewSVGProperty.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698