Index: Source/core/svg/SVGFEDistantLightElement.cpp |
diff --git a/Source/core/svg/SVGFEDistantLightElement.cpp b/Source/core/svg/SVGFEDistantLightElement.cpp |
index 9a93c7ce7335143ff946fbbefc312035e9c7576d..d453563640436b921185859173cb2de34e27a286 100644 |
--- a/Source/core/svg/SVGFEDistantLightElement.cpp |
+++ b/Source/core/svg/SVGFEDistantLightElement.cpp |
@@ -26,14 +26,14 @@ |
namespace WebCore { |
-inline SVGFEDistantLightElement::SVGFEDistantLightElement(const QualifiedName& tagName, Document* document) |
+inline SVGFEDistantLightElement::SVGFEDistantLightElement(const QualifiedName& tagName, Document& document) |
: SVGFELightElement(tagName, document) |
{ |
ASSERT(hasTagName(SVGNames::feDistantLightTag)); |
ScriptWrappable::init(this); |
} |
-PassRefPtr<SVGFEDistantLightElement> SVGFEDistantLightElement::create(const QualifiedName& tagName, Document* document) |
+PassRefPtr<SVGFEDistantLightElement> SVGFEDistantLightElement::create(const QualifiedName& tagName, Document& document) |
{ |
return adoptRef(new SVGFEDistantLightElement(tagName, document)); |
} |