Index: Source/core/svg/SVGLineElement.cpp |
diff --git a/Source/core/svg/SVGLineElement.cpp b/Source/core/svg/SVGLineElement.cpp |
index c699f218abe3d4fe4b25b5bafe251ccb70ca6361..fe21256f3a946606276e2b6aa8db03b0d611c3ff 100644 |
--- a/Source/core/svg/SVGLineElement.cpp |
+++ b/Source/core/svg/SVGLineElement.cpp |
@@ -45,7 +45,7 @@ BEGIN_REGISTER_ANIMATED_PROPERTIES(SVGLineElement) |
REGISTER_PARENT_ANIMATED_PROPERTIES(SVGGraphicsElement) |
END_REGISTER_ANIMATED_PROPERTIES |
-inline SVGLineElement::SVGLineElement(const QualifiedName& tagName, Document* document) |
+inline SVGLineElement::SVGLineElement(const QualifiedName& tagName, Document& document) |
: SVGGraphicsElement(tagName, document) |
, m_x1(LengthModeWidth) |
, m_y1(LengthModeHeight) |
@@ -57,7 +57,7 @@ inline SVGLineElement::SVGLineElement(const QualifiedName& tagName, Document* do |
registerAnimatedPropertiesForSVGLineElement(); |
} |
-PassRefPtr<SVGLineElement> SVGLineElement::create(const QualifiedName& tagName, Document* document) |
+PassRefPtr<SVGLineElement> SVGLineElement::create(const QualifiedName& tagName, Document& document) |
{ |
return adoptRef(new SVGLineElement(tagName, document)); |
} |