Index: Source/core/svg/SVGGlyphRefElement.cpp |
diff --git a/Source/core/svg/SVGGlyphRefElement.cpp b/Source/core/svg/SVGGlyphRefElement.cpp |
index 4594e318d29cad4fd98e5d3f8cc8da5bd1da2c00..159a20bd67a854693f43752c160ecaba83673903 100644 |
--- a/Source/core/svg/SVGGlyphRefElement.cpp |
+++ b/Source/core/svg/SVGGlyphRefElement.cpp |
@@ -37,7 +37,7 @@ BEGIN_REGISTER_ANIMATED_PROPERTIES(SVGGlyphRefElement) |
REGISTER_PARENT_ANIMATED_PROPERTIES(SVGElement) |
END_REGISTER_ANIMATED_PROPERTIES |
-inline SVGGlyphRefElement::SVGGlyphRefElement(const QualifiedName& tagName, Document* document) |
+inline SVGGlyphRefElement::SVGGlyphRefElement(const QualifiedName& tagName, Document& document) |
: SVGElement(tagName, document) |
, m_x(0) |
, m_y(0) |
@@ -49,7 +49,7 @@ inline SVGGlyphRefElement::SVGGlyphRefElement(const QualifiedName& tagName, Docu |
registerAnimatedPropertiesForSVGGlyphRefElement(); |
} |
-PassRefPtr<SVGGlyphRefElement> SVGGlyphRefElement::create(const QualifiedName& tagName, Document* document) |
+PassRefPtr<SVGGlyphRefElement> SVGGlyphRefElement::create(const QualifiedName& tagName, Document& document) |
{ |
return adoptRef(new SVGGlyphRefElement(tagName, document)); |
} |