Index: Source/core/svg/SVGEllipseElement.cpp |
diff --git a/Source/core/svg/SVGEllipseElement.cpp b/Source/core/svg/SVGEllipseElement.cpp |
index eef94a25cc670e6eb8c42c0a9453fd8d35b69868..8002b06dd94e1d4095260a739f8a6fa070da60de 100644 |
--- a/Source/core/svg/SVGEllipseElement.cpp |
+++ b/Source/core/svg/SVGEllipseElement.cpp |
@@ -46,7 +46,7 @@ BEGIN_REGISTER_ANIMATED_PROPERTIES(SVGEllipseElement) |
REGISTER_PARENT_ANIMATED_PROPERTIES(SVGGraphicsElement) |
END_REGISTER_ANIMATED_PROPERTIES |
-inline SVGEllipseElement::SVGEllipseElement(const QualifiedName& tagName, Document* document) |
+inline SVGEllipseElement::SVGEllipseElement(const QualifiedName& tagName, Document& document) |
: SVGGraphicsElement(tagName, document) |
, m_cx(LengthModeWidth) |
, m_cy(LengthModeHeight) |
@@ -58,7 +58,7 @@ inline SVGEllipseElement::SVGEllipseElement(const QualifiedName& tagName, Docume |
registerAnimatedPropertiesForSVGEllipseElement(); |
} |
-PassRefPtr<SVGEllipseElement> SVGEllipseElement::create(const QualifiedName& tagName, Document* document) |
+PassRefPtr<SVGEllipseElement> SVGEllipseElement::create(const QualifiedName& tagName, Document& document) |
{ |
return adoptRef(new SVGEllipseElement(tagName, document)); |
} |