Index: Source/core/svg/SVGGElement.cpp |
diff --git a/Source/core/svg/SVGGElement.cpp b/Source/core/svg/SVGGElement.cpp |
index b53f0bb9adc446b9d64aca1c67275c77ea91ad0c..324049857c64d3503f07363582ce976d849e1fe3 100644 |
--- a/Source/core/svg/SVGGElement.cpp |
+++ b/Source/core/svg/SVGGElement.cpp |
@@ -38,7 +38,7 @@ BEGIN_REGISTER_ANIMATED_PROPERTIES(SVGGElement) |
REGISTER_PARENT_ANIMATED_PROPERTIES(SVGGraphicsElement) |
END_REGISTER_ANIMATED_PROPERTIES |
-SVGGElement::SVGGElement(const QualifiedName& tagName, Document* document, ConstructionType constructionType) |
+SVGGElement::SVGGElement(const QualifiedName& tagName, Document& document, ConstructionType constructionType) |
: SVGGraphicsElement(tagName, document, constructionType) |
{ |
ASSERT(hasTagName(SVGNames::gTag)); |
@@ -46,7 +46,7 @@ SVGGElement::SVGGElement(const QualifiedName& tagName, Document* document, Const |
registerAnimatedPropertiesForSVGGElement(); |
} |
-PassRefPtr<SVGGElement> SVGGElement::create(const QualifiedName& tagName, Document* document) |
+PassRefPtr<SVGGElement> SVGGElement::create(const QualifiedName& tagName, Document& document) |
{ |
return adoptRef(new SVGGElement(tagName, document)); |
} |