Index: Source/core/svg/SVGPatternElement.cpp |
diff --git a/Source/core/svg/SVGPatternElement.cpp b/Source/core/svg/SVGPatternElement.cpp |
index aeedfb47fa2cebab4c0d1db9c6e35f692f1aab35..0fdf163bbdd624208219549ace9e0df2817967bc 100644 |
--- a/Source/core/svg/SVGPatternElement.cpp |
+++ b/Source/core/svg/SVGPatternElement.cpp |
@@ -62,7 +62,7 @@ BEGIN_REGISTER_ANIMATED_PROPERTIES(SVGPatternElement) |
REGISTER_PARENT_ANIMATED_PROPERTIES(SVGTests) |
END_REGISTER_ANIMATED_PROPERTIES |
-inline SVGPatternElement::SVGPatternElement(const QualifiedName& tagName, Document* document) |
+inline SVGPatternElement::SVGPatternElement(const QualifiedName& tagName, Document& document) |
: SVGElement(tagName, document) |
, m_x(LengthModeWidth) |
, m_y(LengthModeHeight) |
@@ -76,7 +76,7 @@ inline SVGPatternElement::SVGPatternElement(const QualifiedName& tagName, Docume |
registerAnimatedPropertiesForSVGPatternElement(); |
} |
-PassRefPtr<SVGPatternElement> SVGPatternElement::create(const QualifiedName& tagName, Document* document) |
+PassRefPtr<SVGPatternElement> SVGPatternElement::create(const QualifiedName& tagName, Document& document) |
{ |
return adoptRef(new SVGPatternElement(tagName, document)); |
} |