Index: Source/core/svg/SVGMissingGlyphElement.cpp |
diff --git a/Source/core/svg/SVGMissingGlyphElement.cpp b/Source/core/svg/SVGMissingGlyphElement.cpp |
index 893ff7544a286edf87dfdedc4291141019e7ae74..f426e6b153059ab6b9d06f18628f48edd5a22742 100644 |
--- a/Source/core/svg/SVGMissingGlyphElement.cpp |
+++ b/Source/core/svg/SVGMissingGlyphElement.cpp |
@@ -25,14 +25,14 @@ |
namespace WebCore { |
-inline SVGMissingGlyphElement::SVGMissingGlyphElement(const QualifiedName& tagName, Document* document) |
+inline SVGMissingGlyphElement::SVGMissingGlyphElement(const QualifiedName& tagName, Document& document) |
: SVGElement(tagName, document) |
{ |
ASSERT(hasTagName(SVGNames::missing_glyphTag)); |
ScriptWrappable::init(this); |
} |
-PassRefPtr<SVGMissingGlyphElement> SVGMissingGlyphElement::create(const QualifiedName& tagName, Document* document) |
+PassRefPtr<SVGMissingGlyphElement> SVGMissingGlyphElement::create(const QualifiedName& tagName, Document& document) |
{ |
return adoptRef(new SVGMissingGlyphElement(tagName, document)); |
} |