Index: Source/core/svg/SVGMPathElement.cpp |
diff --git a/Source/core/svg/SVGMPathElement.cpp b/Source/core/svg/SVGMPathElement.cpp |
index 1215228eeb730bf2f9aa209f5e3c99078dd2811b..b766818f4755a0001bb4e8a3a8dc5228ac996992 100644 |
--- a/Source/core/svg/SVGMPathElement.cpp |
+++ b/Source/core/svg/SVGMPathElement.cpp |
@@ -39,7 +39,7 @@ BEGIN_REGISTER_ANIMATED_PROPERTIES(SVGMPathElement) |
REGISTER_LOCAL_ANIMATED_PROPERTY(externalResourcesRequired) |
END_REGISTER_ANIMATED_PROPERTIES |
-inline SVGMPathElement::SVGMPathElement(const QualifiedName& tagName, Document* document) |
+inline SVGMPathElement::SVGMPathElement(const QualifiedName& tagName, Document& document) |
: SVGElement(tagName, document) |
{ |
ASSERT(hasTagName(SVGNames::mpathTag)); |
@@ -47,7 +47,7 @@ inline SVGMPathElement::SVGMPathElement(const QualifiedName& tagName, Document* |
registerAnimatedPropertiesForSVGMPathElement(); |
} |
-PassRefPtr<SVGMPathElement> SVGMPathElement::create(const QualifiedName& tagName, Document* document) |
+PassRefPtr<SVGMPathElement> SVGMPathElement::create(const QualifiedName& tagName, Document& document) |
{ |
return adoptRef(new SVGMPathElement(tagName, document)); |
} |