Index: Source/core/html/HTMLDirectoryElement.cpp |
diff --git a/Source/core/html/HTMLDirectoryElement.cpp b/Source/core/html/HTMLDirectoryElement.cpp |
index 1a14d6e7ed5552bb0032ff4b6e13d8f6d193ddd4..0068dfa4d42695df3f92f376cf383fb2916c1cd8 100644 |
--- a/Source/core/html/HTMLDirectoryElement.cpp |
+++ b/Source/core/html/HTMLDirectoryElement.cpp |
@@ -29,14 +29,14 @@ namespace WebCore { |
using namespace HTMLNames; |
-inline HTMLDirectoryElement::HTMLDirectoryElement(const QualifiedName& tagName, Document* document) |
+inline HTMLDirectoryElement::HTMLDirectoryElement(const QualifiedName& tagName, Document& document) |
: HTMLElement(tagName, document) |
{ |
ASSERT(hasTagName(dirTag)); |
ScriptWrappable::init(this); |
} |
-PassRefPtr<HTMLDirectoryElement> HTMLDirectoryElement::create(const QualifiedName& tagName, Document* document) |
+PassRefPtr<HTMLDirectoryElement> HTMLDirectoryElement::create(const QualifiedName& tagName, Document& document) |
{ |
return adoptRef(new HTMLDirectoryElement(tagName, document)); |
} |