Index: Source/core/svg/SVGFEOffsetElement.cpp |
diff --git a/Source/core/svg/SVGFEOffsetElement.cpp b/Source/core/svg/SVGFEOffsetElement.cpp |
index 19b9424d7e3427fa9601c2b032461d48a3007fd1..a110b837e557cbbdce1084f7c02553168dd4cc51 100644 |
--- a/Source/core/svg/SVGFEOffsetElement.cpp |
+++ b/Source/core/svg/SVGFEOffsetElement.cpp |
@@ -41,7 +41,7 @@ BEGIN_REGISTER_ANIMATED_PROPERTIES(SVGFEOffsetElement) |
REGISTER_PARENT_ANIMATED_PROPERTIES(SVGFilterPrimitiveStandardAttributes) |
END_REGISTER_ANIMATED_PROPERTIES |
-inline SVGFEOffsetElement::SVGFEOffsetElement(const QualifiedName& tagName, Document* document) |
+inline SVGFEOffsetElement::SVGFEOffsetElement(const QualifiedName& tagName, Document& document) |
: SVGFilterPrimitiveStandardAttributes(tagName, document) |
{ |
ASSERT(hasTagName(SVGNames::feOffsetTag)); |
@@ -49,7 +49,7 @@ inline SVGFEOffsetElement::SVGFEOffsetElement(const QualifiedName& tagName, Docu |
registerAnimatedPropertiesForSVGFEOffsetElement(); |
} |
-PassRefPtr<SVGFEOffsetElement> SVGFEOffsetElement::create(const QualifiedName& tagName, Document* document) |
+PassRefPtr<SVGFEOffsetElement> SVGFEOffsetElement::create(const QualifiedName& tagName, Document& document) |
{ |
return adoptRef(new SVGFEOffsetElement(tagName, document)); |
} |