Index: Source/core/html/HTMLTitleElement.cpp |
diff --git a/Source/core/html/HTMLTitleElement.cpp b/Source/core/html/HTMLTitleElement.cpp |
index caf8783826aeca23fc16db4e47048abdff91a0a4..48ed56ea3e06e30d44794d2f237d79e255d343f6 100644 |
--- a/Source/core/html/HTMLTitleElement.cpp |
+++ b/Source/core/html/HTMLTitleElement.cpp |
@@ -35,7 +35,7 @@ namespace WebCore { |
using namespace HTMLNames; |
-inline HTMLTitleElement::HTMLTitleElement(const QualifiedName& tagName, Document* document) |
+inline HTMLTitleElement::HTMLTitleElement(const QualifiedName& tagName, Document& document) |
: HTMLElement(tagName, document) |
{ |
ASSERT(hasTagName(titleTag)); |
@@ -43,7 +43,7 @@ inline HTMLTitleElement::HTMLTitleElement(const QualifiedName& tagName, Document |
ScriptWrappable::init(this); |
} |
-PassRefPtr<HTMLTitleElement> HTMLTitleElement::create(const QualifiedName& tagName, Document* document) |
+PassRefPtr<HTMLTitleElement> HTMLTitleElement::create(const QualifiedName& tagName, Document& document) |
{ |
return adoptRef(new HTMLTitleElement(tagName, document)); |
} |