Index: Source/core/svg/SVGFESpecularLightingElement.cpp |
diff --git a/Source/core/svg/SVGFESpecularLightingElement.cpp b/Source/core/svg/SVGFESpecularLightingElement.cpp |
index 4d51a632f10d543e88b2362c0a3dc180a4cab322..12cd0c7f4f050aad10cd3b1db8d04bc8fa12b59c 100644 |
--- a/Source/core/svg/SVGFESpecularLightingElement.cpp |
+++ b/Source/core/svg/SVGFESpecularLightingElement.cpp |
@@ -51,7 +51,7 @@ BEGIN_REGISTER_ANIMATED_PROPERTIES(SVGFESpecularLightingElement) |
REGISTER_PARENT_ANIMATED_PROPERTIES(SVGFilterPrimitiveStandardAttributes) |
END_REGISTER_ANIMATED_PROPERTIES |
-inline SVGFESpecularLightingElement::SVGFESpecularLightingElement(const QualifiedName& tagName, Document* document) |
+inline SVGFESpecularLightingElement::SVGFESpecularLightingElement(const QualifiedName& tagName, Document& document) |
: SVGFilterPrimitiveStandardAttributes(tagName, document) |
, m_specularConstant(1) |
, m_specularExponent(1) |
@@ -62,7 +62,7 @@ inline SVGFESpecularLightingElement::SVGFESpecularLightingElement(const Qualifie |
registerAnimatedPropertiesForSVGFESpecularLightingElement(); |
} |
-PassRefPtr<SVGFESpecularLightingElement> SVGFESpecularLightingElement::create(const QualifiedName& tagName, Document* document) |
+PassRefPtr<SVGFESpecularLightingElement> SVGFESpecularLightingElement::create(const QualifiedName& tagName, Document& document) |
{ |
return adoptRef(new SVGFESpecularLightingElement(tagName, document)); |
} |