Index: Source/core/html/HTMLModElement.cpp |
diff --git a/Source/core/html/HTMLModElement.cpp b/Source/core/html/HTMLModElement.cpp |
index cbe20a3a7731ba65fe56594cda2dab222cc4bd53..e609ef534995c47feb250334476f7abe6a964c5b 100644 |
--- a/Source/core/html/HTMLModElement.cpp |
+++ b/Source/core/html/HTMLModElement.cpp |
@@ -29,13 +29,13 @@ namespace WebCore { |
using namespace HTMLNames; |
-inline HTMLModElement::HTMLModElement(const QualifiedName& tagName, Document* document) |
+inline HTMLModElement::HTMLModElement(const QualifiedName& tagName, Document& document) |
: HTMLElement(tagName, document) |
{ |
ScriptWrappable::init(this); |
} |
-PassRefPtr<HTMLModElement> HTMLModElement::create(const QualifiedName& tagName, Document* document) |
+PassRefPtr<HTMLModElement> HTMLModElement::create(const QualifiedName& tagName, Document& document) |
{ |
return adoptRef(new HTMLModElement(tagName, document)); |
} |