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