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