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