Index: Source/core/svg/SVGFontFaceFormatElement.cpp |
diff --git a/Source/core/svg/SVGFontFaceFormatElement.cpp b/Source/core/svg/SVGFontFaceFormatElement.cpp |
index ed8347236ec6cb87b4ad1c1a26f4cebafbb14bb0..94970ccf26b9201781a59dff1323d13aa82a0d35 100644 |
--- a/Source/core/svg/SVGFontFaceFormatElement.cpp |
+++ b/Source/core/svg/SVGFontFaceFormatElement.cpp |
@@ -29,14 +29,14 @@ namespace WebCore { |
using namespace SVGNames; |
-inline SVGFontFaceFormatElement::SVGFontFaceFormatElement(const QualifiedName& tagName, Document* document) |
+inline SVGFontFaceFormatElement::SVGFontFaceFormatElement(const QualifiedName& tagName, Document& document) |
: SVGElement(tagName, document) |
{ |
ASSERT(hasTagName(font_face_formatTag)); |
ScriptWrappable::init(this); |
} |
-PassRefPtr<SVGFontFaceFormatElement> SVGFontFaceFormatElement::create(const QualifiedName& tagName, Document* document) |
+PassRefPtr<SVGFontFaceFormatElement> SVGFontFaceFormatElement::create(const QualifiedName& tagName, Document& document) |
{ |
return adoptRef(new SVGFontFaceFormatElement(tagName, document)); |
} |