Index: Source/core/svg/SVGStopElement.cpp |
diff --git a/Source/core/svg/SVGStopElement.cpp b/Source/core/svg/SVGStopElement.cpp |
index 23883c1b164cabfd21dd8a1fa54e6c965d7ac976..40fc9de639961b92f758816b0ef7cbafbf0ee5f5 100644 |
--- a/Source/core/svg/SVGStopElement.cpp |
+++ b/Source/core/svg/SVGStopElement.cpp |
@@ -37,7 +37,7 @@ BEGIN_REGISTER_ANIMATED_PROPERTIES(SVGStopElement) |
REGISTER_PARENT_ANIMATED_PROPERTIES(SVGElement) |
END_REGISTER_ANIMATED_PROPERTIES |
-inline SVGStopElement::SVGStopElement(const QualifiedName& tagName, Document* document) |
+inline SVGStopElement::SVGStopElement(const QualifiedName& tagName, Document& document) |
: SVGElement(tagName, document) |
, m_offset(0) |
{ |
@@ -46,7 +46,7 @@ inline SVGStopElement::SVGStopElement(const QualifiedName& tagName, Document* do |
registerAnimatedPropertiesForSVGStopElement(); |
} |
-PassRefPtr<SVGStopElement> SVGStopElement::create(const QualifiedName& tagName, Document* document) |
+PassRefPtr<SVGStopElement> SVGStopElement::create(const QualifiedName& tagName, Document& document) |
{ |
return adoptRef(new SVGStopElement(tagName, document)); |
} |