Index: Source/core/svg/SVGSVGElement.cpp |
diff --git a/Source/core/svg/SVGSVGElement.cpp b/Source/core/svg/SVGSVGElement.cpp |
index c0e90ad3dcc18022c2a2bad73ab5618d9c52158f..75c0d123168f65fe0397c6149ee1eae5557a518b 100644 |
--- a/Source/core/svg/SVGSVGElement.cpp |
+++ b/Source/core/svg/SVGSVGElement.cpp |
@@ -79,7 +79,7 @@ BEGIN_REGISTER_ANIMATED_PROPERTIES(SVGSVGElement) |
REGISTER_PARENT_ANIMATED_PROPERTIES(SVGGraphicsElement) |
END_REGISTER_ANIMATED_PROPERTIES |
-inline SVGSVGElement::SVGSVGElement(const QualifiedName& tagName, Document* doc) |
+inline SVGSVGElement::SVGSVGElement(const QualifiedName& tagName, Document& doc) |
: SVGGraphicsElement(tagName, doc) |
, m_x(LengthModeWidth) |
, m_y(LengthModeHeight) |
@@ -94,7 +94,7 @@ inline SVGSVGElement::SVGSVGElement(const QualifiedName& tagName, Document* doc) |
registerAnimatedPropertiesForSVGSVGElement(); |
} |
-PassRefPtr<SVGSVGElement> SVGSVGElement::create(const QualifiedName& tagName, Document* document) |
+PassRefPtr<SVGSVGElement> SVGSVGElement::create(const QualifiedName& tagName, Document& document) |
{ |
return adoptRef(new SVGSVGElement(tagName, document)); |
} |