Index: Source/core/html/HTMLAreaElement.cpp |
diff --git a/Source/core/html/HTMLAreaElement.cpp b/Source/core/html/HTMLAreaElement.cpp |
index 6f8a2bcb5cd1e3ab79167b0844800b73b75f19d7..46ee04ac10989cd3292d1f71bc27938b01222199 100644 |
--- a/Source/core/html/HTMLAreaElement.cpp |
+++ b/Source/core/html/HTMLAreaElement.cpp |
@@ -37,7 +37,7 @@ namespace WebCore { |
using namespace HTMLNames; |
-inline HTMLAreaElement::HTMLAreaElement(const QualifiedName& tagName, Document* document) |
+inline HTMLAreaElement::HTMLAreaElement(const QualifiedName& tagName, Document& document) |
: HTMLAnchorElement(tagName, document) |
, m_lastSize(-1, -1) |
, m_shape(Unknown) |
@@ -46,7 +46,7 @@ inline HTMLAreaElement::HTMLAreaElement(const QualifiedName& tagName, Document* |
ScriptWrappable::init(this); |
} |
-PassRefPtr<HTMLAreaElement> HTMLAreaElement::create(const QualifiedName& tagName, Document* document) |
+PassRefPtr<HTMLAreaElement> HTMLAreaElement::create(const QualifiedName& tagName, Document& document) |
{ |
return adoptRef(new HTMLAreaElement(tagName, document)); |
} |