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

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

Issue 206133005: Remove 3-args |SVGAnimatedLength::baseValueToString()| impl. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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 | « no previous file | Source/core/svg/SVGAnimatedLength.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGAnimatedLength.h
diff --git a/Source/core/svg/SVGAnimatedLength.h b/Source/core/svg/SVGAnimatedLength.h
index 36efeb08d1e17fe2c1615d9c4d22d4f31978fd32..200005e42a7c5ae143732ccde93652786b7cc740 100644
--- a/Source/core/svg/SVGAnimatedLength.h
+++ b/Source/core/svg/SVGAnimatedLength.h
@@ -38,19 +38,23 @@ namespace WebCore {
class SVGAnimatedLength : public NewSVGAnimatedProperty<SVGLength> {
public:
- static PassRefPtr<SVGAnimatedLength> create(SVGElement* contextElement, const QualifiedName& attributeName, PassRefPtr<SVGLength> initialValue)
+ static PassRefPtr<SVGAnimatedLength> create(SVGElement* contextElement, const QualifiedName& attributeName, PassRefPtr<SVGLength> initialValue, SVGLengthNegativeValuesMode negativeValuesMode)
{
- return adoptRef(new SVGAnimatedLength(contextElement, attributeName, initialValue));
+ return adoptRef(new SVGAnimatedLength(contextElement, attributeName, initialValue, negativeValuesMode));
}
void setDefaultValueAsString(const String&);
- void setBaseValueAsString(const String&, SVGLengthNegativeValuesMode, SVGParsingError&);
+ void setBaseValueAsString(const String&, SVGParsingError&);
protected:
- SVGAnimatedLength(SVGElement* contextElement, const QualifiedName& attributeName, PassRefPtr<SVGLength> initialValue)
+ SVGAnimatedLength(SVGElement* contextElement, const QualifiedName& attributeName, PassRefPtr<SVGLength> initialValue, SVGLengthNegativeValuesMode negativeValuesMode)
: NewSVGAnimatedProperty<SVGLength>(contextElement, attributeName, initialValue)
+ , m_negativeValuesMode(negativeValuesMode)
{
}
+
+private:
+ SVGLengthNegativeValuesMode m_negativeValuesMode;
};
} // namespace WebCore
« no previous file with comments | « no previous file | Source/core/svg/SVGAnimatedLength.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698