Index: Source/core/svg/SVGCursorElement.cpp |
diff --git a/Source/core/svg/SVGCursorElement.cpp b/Source/core/svg/SVGCursorElement.cpp |
index 9f6e466d85a8f09b09c2e143a37f25e45bea420b..f83ffa93a734866542017ba591eda8c174eb9d7a 100644 |
--- a/Source/core/svg/SVGCursorElement.cpp |
+++ b/Source/core/svg/SVGCursorElement.cpp |
@@ -43,7 +43,7 @@ BEGIN_REGISTER_ANIMATED_PROPERTIES(SVGCursorElement) |
REGISTER_PARENT_ANIMATED_PROPERTIES(SVGTests) |
END_REGISTER_ANIMATED_PROPERTIES |
-inline SVGCursorElement::SVGCursorElement(const QualifiedName& tagName, Document* document) |
+inline SVGCursorElement::SVGCursorElement(const QualifiedName& tagName, Document& document) |
: SVGElement(tagName, document) |
, m_x(LengthModeWidth) |
, m_y(LengthModeHeight) |
@@ -53,7 +53,7 @@ inline SVGCursorElement::SVGCursorElement(const QualifiedName& tagName, Document |
registerAnimatedPropertiesForSVGCursorElement(); |
} |
-PassRefPtr<SVGCursorElement> SVGCursorElement::create(const QualifiedName& tagName, Document* document) |
+PassRefPtr<SVGCursorElement> SVGCursorElement::create(const QualifiedName& tagName, Document& document) |
{ |
return adoptRef(new SVGCursorElement(tagName, document)); |
} |