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