Index: Source/core/html/HTMLHeadElement.cpp |
diff --git a/Source/core/html/HTMLHeadElement.cpp b/Source/core/html/HTMLHeadElement.cpp |
index feda0cc7a97d8c50cf8ed3be0429a62cf839ba6c..a0afa3049c304d3fdd09ad5e8df48c7411751b8c 100644 |
--- a/Source/core/html/HTMLHeadElement.cpp |
+++ b/Source/core/html/HTMLHeadElement.cpp |
@@ -30,19 +30,19 @@ namespace WebCore { |
using namespace HTMLNames; |
-HTMLHeadElement::HTMLHeadElement(const QualifiedName& tagName, Document* document) |
+HTMLHeadElement::HTMLHeadElement(const QualifiedName& tagName, Document& document) |
: HTMLElement(tagName, document) |
{ |
ASSERT(hasTagName(headTag)); |
ScriptWrappable::init(this); |
} |
-PassRefPtr<HTMLHeadElement> HTMLHeadElement::create(Document* document) |
+PassRefPtr<HTMLHeadElement> HTMLHeadElement::create(Document& document) |
{ |
return adoptRef(new HTMLHeadElement(headTag, document)); |
} |
-PassRefPtr<HTMLHeadElement> HTMLHeadElement::create(const QualifiedName& tagName, Document* document) |
+PassRefPtr<HTMLHeadElement> HTMLHeadElement::create(const QualifiedName& tagName, Document& document) |
{ |
return adoptRef(new HTMLHeadElement(tagName, document)); |
} |