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