Index: Source/core/svg/SVGTextPathElement.cpp |
diff --git a/Source/core/svg/SVGTextPathElement.cpp b/Source/core/svg/SVGTextPathElement.cpp |
index f9028eb6cbc27765a124c2d3c7ae40e85cca5a3b..2afd1c6d7137be248818a00b1d22373fe69221d7 100644 |
--- a/Source/core/svg/SVGTextPathElement.cpp |
+++ b/Source/core/svg/SVGTextPathElement.cpp |
@@ -45,7 +45,7 @@ BEGIN_REGISTER_ANIMATED_PROPERTIES(SVGTextPathElement) |
REGISTER_PARENT_ANIMATED_PROPERTIES(SVGTextContentElement) |
END_REGISTER_ANIMATED_PROPERTIES |
-inline SVGTextPathElement::SVGTextPathElement(const QualifiedName& tagName, Document* document) |
+inline SVGTextPathElement::SVGTextPathElement(const QualifiedName& tagName, Document& document) |
: SVGTextContentElement(tagName, document) |
, m_startOffset(LengthModeOther) |
, m_method(SVGTextPathMethodAlign) |
@@ -56,7 +56,7 @@ inline SVGTextPathElement::SVGTextPathElement(const QualifiedName& tagName, Docu |
registerAnimatedPropertiesForSVGTextPathElement(); |
} |
-PassRefPtr<SVGTextPathElement> SVGTextPathElement::create(const QualifiedName& tagName, Document* document) |
+PassRefPtr<SVGTextPathElement> SVGTextPathElement::create(const QualifiedName& tagName, Document& document) |
{ |
return adoptRef(new SVGTextPathElement(tagName, document)); |
} |