Index: Source/core/svg/SVGFEFuncRElement.cpp |
diff --git a/Source/core/svg/SVGFEFuncRElement.cpp b/Source/core/svg/SVGFEFuncRElement.cpp |
index d6527cb15ddce8deb62e3731ed017bb241250eca..cf059b68fef79553393fe59c97131da5655f4565 100644 |
--- a/Source/core/svg/SVGFEFuncRElement.cpp |
+++ b/Source/core/svg/SVGFEFuncRElement.cpp |
@@ -25,14 +25,14 @@ |
namespace WebCore { |
-inline SVGFEFuncRElement::SVGFEFuncRElement(const QualifiedName& tagName, Document* document) |
+inline SVGFEFuncRElement::SVGFEFuncRElement(const QualifiedName& tagName, Document& document) |
: SVGComponentTransferFunctionElement(tagName, document) |
{ |
ASSERT(hasTagName(SVGNames::feFuncRTag)); |
ScriptWrappable::init(this); |
} |
-PassRefPtr<SVGFEFuncRElement> SVGFEFuncRElement::create(const QualifiedName& tagName, Document* document) |
+PassRefPtr<SVGFEFuncRElement> SVGFEFuncRElement::create(const QualifiedName& tagName, Document& document) |
{ |
return adoptRef(new SVGFEFuncRElement(tagName, document)); |
} |