Index: Source/core/svg/SVGAnimateColorElement.cpp |
diff --git a/Source/core/svg/SVGAnimateColorElement.cpp b/Source/core/svg/SVGAnimateColorElement.cpp |
index 0b971159d470e08da6d59fd1f8b3e0f289902aca..7e9fd0d7fdd21ba93f049d632a84440d6ef2353a 100644 |
--- a/Source/core/svg/SVGAnimateColorElement.cpp |
+++ b/Source/core/svg/SVGAnimateColorElement.cpp |
@@ -26,14 +26,14 @@ |
namespace WebCore { |
-inline SVGAnimateColorElement::SVGAnimateColorElement(const QualifiedName& tagName, Document* document) |
+inline SVGAnimateColorElement::SVGAnimateColorElement(const QualifiedName& tagName, Document& document) |
: SVGAnimateElement(tagName, document) |
{ |
ASSERT(hasTagName(SVGNames::animateColorTag)); |
ScriptWrappable::init(this); |
} |
-PassRefPtr<SVGAnimateColorElement> SVGAnimateColorElement::create(const QualifiedName& tagName, Document* document) |
+PassRefPtr<SVGAnimateColorElement> SVGAnimateColorElement::create(const QualifiedName& tagName, Document& document) |
{ |
return adoptRef(new SVGAnimateColorElement(tagName, document)); |
} |