Index: Source/core/svg/SVGAnimateElement.cpp |
diff --git a/Source/core/svg/SVGAnimateElement.cpp b/Source/core/svg/SVGAnimateElement.cpp |
index e3af159a79dc5158f9ba05c26d94f72ae63a365d..d3f1b233e6f71958330c24d2b449419109c6fda0 100644 |
--- a/Source/core/svg/SVGAnimateElement.cpp |
+++ b/Source/core/svg/SVGAnimateElement.cpp |
@@ -35,7 +35,7 @@ |
namespace WebCore { |
-SVGAnimateElement::SVGAnimateElement(const QualifiedName& tagName, Document* document) |
+SVGAnimateElement::SVGAnimateElement(const QualifiedName& tagName, Document& document) |
: SVGAnimationElement(tagName, document) |
, m_animatedPropertyType(AnimatedString) |
{ |
@@ -43,7 +43,7 @@ SVGAnimateElement::SVGAnimateElement(const QualifiedName& tagName, Document* doc |
ScriptWrappable::init(this); |
} |
-PassRefPtr<SVGAnimateElement> SVGAnimateElement::create(const QualifiedName& tagName, Document* document) |
+PassRefPtr<SVGAnimateElement> SVGAnimateElement::create(const QualifiedName& tagName, Document& document) |
{ |
return adoptRef(new SVGAnimateElement(tagName, document)); |
} |