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