Index: third_party/WebKit/Source/core/svg/SVGAnimatedPreserveAspectRatio.h |
diff --git a/third_party/WebKit/Source/core/svg/SVGAnimatedPreserveAspectRatio.h b/third_party/WebKit/Source/core/svg/SVGAnimatedPreserveAspectRatio.h |
index 4ed6fd8f72a09b1508e51c0a6a7ab2aa60f91fae..9d6228aa54a9f696de9b687bcc6aa11d48e72ebc 100644 |
--- a/third_party/WebKit/Source/core/svg/SVGAnimatedPreserveAspectRatio.h |
+++ b/third_party/WebKit/Source/core/svg/SVGAnimatedPreserveAspectRatio.h |
@@ -45,10 +45,8 @@ class SVGAnimatedPreserveAspectRatio |
public: |
static SVGAnimatedPreserveAspectRatio* create( |
SVGElement* contextElement, |
- const QualifiedName& attributeName, |
- SVGPreserveAspectRatio* initialValue) { |
- return new SVGAnimatedPreserveAspectRatio(contextElement, attributeName, |
- initialValue); |
+ const QualifiedName& attributeName) { |
+ return new SVGAnimatedPreserveAspectRatio(contextElement, attributeName); |
} |
DEFINE_INLINE_VIRTUAL_TRACE_WRAPPERS() { |
@@ -57,11 +55,11 @@ class SVGAnimatedPreserveAspectRatio |
protected: |
SVGAnimatedPreserveAspectRatio(SVGElement* contextElement, |
- const QualifiedName& attributeName, |
- SVGPreserveAspectRatio* initialValue) |
- : SVGAnimatedProperty<SVGPreserveAspectRatio>(contextElement, |
- attributeName, |
- initialValue) {} |
+ const QualifiedName& attributeName) |
+ : SVGAnimatedProperty<SVGPreserveAspectRatio>( |
+ contextElement, |
+ attributeName, |
+ SVGPreserveAspectRatio::create()) {} |
}; |
} // namespace blink |