Index: Source/core/svg/SVGRadialGradientElement.cpp |
diff --git a/Source/core/svg/SVGRadialGradientElement.cpp b/Source/core/svg/SVGRadialGradientElement.cpp |
index 4929cc24265d5887b5540c0c0458eae61a9065d3..cb286b150fe1c221e7263e934e5ea492498a4993 100644 |
--- a/Source/core/svg/SVGRadialGradientElement.cpp |
+++ b/Source/core/svg/SVGRadialGradientElement.cpp |
@@ -51,7 +51,7 @@ BEGIN_REGISTER_ANIMATED_PROPERTIES(SVGRadialGradientElement) |
REGISTER_PARENT_ANIMATED_PROPERTIES(SVGGradientElement) |
END_REGISTER_ANIMATED_PROPERTIES |
-inline SVGRadialGradientElement::SVGRadialGradientElement(const QualifiedName& tagName, Document* document) |
+inline SVGRadialGradientElement::SVGRadialGradientElement(const QualifiedName& tagName, Document& document) |
: SVGGradientElement(tagName, document) |
, m_cx(LengthModeWidth, "50%") |
, m_cy(LengthModeHeight, "50%") |
@@ -66,7 +66,7 @@ inline SVGRadialGradientElement::SVGRadialGradientElement(const QualifiedName& t |
registerAnimatedPropertiesForSVGRadialGradientElement(); |
} |
-PassRefPtr<SVGRadialGradientElement> SVGRadialGradientElement::create(const QualifiedName& tagName, Document* document) |
+PassRefPtr<SVGRadialGradientElement> SVGRadialGradientElement::create(const QualifiedName& tagName, Document& document) |
{ |
return adoptRef(new SVGRadialGradientElement(tagName, document)); |
} |