Index: Source/core/html/HTMLFieldSetElement.cpp |
diff --git a/Source/core/html/HTMLFieldSetElement.cpp b/Source/core/html/HTMLFieldSetElement.cpp |
index 23ffe90e6358900def04f43f78c9b4fb7e18e5bc..66ef5374076f0661202553386dc562bc4c4f5e91 100644 |
--- a/Source/core/html/HTMLFieldSetElement.cpp |
+++ b/Source/core/html/HTMLFieldSetElement.cpp |
@@ -37,7 +37,7 @@ namespace WebCore { |
using namespace HTMLNames; |
-inline HTMLFieldSetElement::HTMLFieldSetElement(const QualifiedName& tagName, Document* document, HTMLFormElement* form) |
+inline HTMLFieldSetElement::HTMLFieldSetElement(const QualifiedName& tagName, Document& document, HTMLFormElement* form) |
: HTMLFormControlElement(tagName, document, form) |
, m_documentVersion(0) |
{ |
@@ -45,7 +45,7 @@ inline HTMLFieldSetElement::HTMLFieldSetElement(const QualifiedName& tagName, Do |
ScriptWrappable::init(this); |
} |
-PassRefPtr<HTMLFieldSetElement> HTMLFieldSetElement::create(const QualifiedName& tagName, Document* document, HTMLFormElement* form) |
+PassRefPtr<HTMLFieldSetElement> HTMLFieldSetElement::create(const QualifiedName& tagName, Document& document, HTMLFormElement* form) |
{ |
return adoptRef(new HTMLFieldSetElement(tagName, document, form)); |
} |