Index: Source/core/html/HTMLTemplateElement.cpp |
diff --git a/Source/core/html/HTMLTemplateElement.cpp b/Source/core/html/HTMLTemplateElement.cpp |
index f0b4a23d0477dd4ef6a998561ea6be4872304a85..e9d43d406a0bd8defc3299d5cfd6513fedb30e42 100644 |
--- a/Source/core/html/HTMLTemplateElement.cpp |
+++ b/Source/core/html/HTMLTemplateElement.cpp |
@@ -39,7 +39,7 @@ namespace WebCore { |
using namespace HTMLNames; |
-inline HTMLTemplateElement::HTMLTemplateElement(const QualifiedName& tagName, Document* document) |
+inline HTMLTemplateElement::HTMLTemplateElement(const QualifiedName& tagName, Document& document) |
: HTMLElement(tagName, document) |
{ |
ScriptWrappable::init(this); |
@@ -49,7 +49,7 @@ HTMLTemplateElement::~HTMLTemplateElement() |
{ |
} |
-PassRefPtr<HTMLTemplateElement> HTMLTemplateElement::create(const QualifiedName& tagName, Document* document) |
+PassRefPtr<HTMLTemplateElement> HTMLTemplateElement::create(const QualifiedName& tagName, Document& document) |
{ |
return adoptRef(new HTMLTemplateElement(tagName, document)); |
} |