Index: Source/core/svg/SVGFETurbulenceElement.cpp |
diff --git a/Source/core/svg/SVGFETurbulenceElement.cpp b/Source/core/svg/SVGFETurbulenceElement.cpp |
index 3c95c2c3d8a82a54b0c6a6db1dc6a6c2981508dd..14236b2c0e43b7fb32f33c66449ebc635624e743 100644 |
--- a/Source/core/svg/SVGFETurbulenceElement.cpp |
+++ b/Source/core/svg/SVGFETurbulenceElement.cpp |
@@ -46,7 +46,7 @@ BEGIN_REGISTER_ANIMATED_PROPERTIES(SVGFETurbulenceElement) |
REGISTER_PARENT_ANIMATED_PROPERTIES(SVGFilterPrimitiveStandardAttributes) |
END_REGISTER_ANIMATED_PROPERTIES |
-inline SVGFETurbulenceElement::SVGFETurbulenceElement(const QualifiedName& tagName, Document* document) |
+inline SVGFETurbulenceElement::SVGFETurbulenceElement(const QualifiedName& tagName, Document& document) |
: SVGFilterPrimitiveStandardAttributes(tagName, document) |
, m_numOctaves(1) |
, m_stitchTiles(SVG_STITCHTYPE_NOSTITCH) |
@@ -57,7 +57,7 @@ inline SVGFETurbulenceElement::SVGFETurbulenceElement(const QualifiedName& tagNa |
registerAnimatedPropertiesForSVGFETurbulenceElement(); |
} |
-PassRefPtr<SVGFETurbulenceElement> SVGFETurbulenceElement::create(const QualifiedName& tagName, Document* document) |
+PassRefPtr<SVGFETurbulenceElement> SVGFETurbulenceElement::create(const QualifiedName& tagName, Document& document) |
{ |
return adoptRef(new SVGFETurbulenceElement(tagName, document)); |
} |