Index: Source/core/html/HTMLParamElement.cpp |
diff --git a/Source/core/html/HTMLParamElement.cpp b/Source/core/html/HTMLParamElement.cpp |
index cda2db20af48dcfde939c07bcc84db30aafc6e29..cf558480abb0762e258c77326cb91315737bd7b7 100644 |
--- a/Source/core/html/HTMLParamElement.cpp |
+++ b/Source/core/html/HTMLParamElement.cpp |
@@ -31,14 +31,14 @@ namespace WebCore { |
using namespace HTMLNames; |
-inline HTMLParamElement::HTMLParamElement(const QualifiedName& tagName, Document* document) |
+inline HTMLParamElement::HTMLParamElement(const QualifiedName& tagName, Document& document) |
: HTMLElement(tagName, document) |
{ |
ASSERT(hasTagName(paramTag)); |
ScriptWrappable::init(this); |
} |
-PassRefPtr<HTMLParamElement> HTMLParamElement::create(const QualifiedName& tagName, Document* document) |
+PassRefPtr<HTMLParamElement> HTMLParamElement::create(const QualifiedName& tagName, Document& document) |
{ |
return adoptRef(new HTMLParamElement(tagName, document)); |
} |