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