Index: Source/core/html/HTMLAreaElement.h |
diff --git a/Source/core/html/HTMLAreaElement.h b/Source/core/html/HTMLAreaElement.h |
index f00dde1cd5cdcf669a1889689d849c60474dc4e7..2fc4cebc81c034999b49ce163a815732cb391de0 100644 |
--- a/Source/core/html/HTMLAreaElement.h |
+++ b/Source/core/html/HTMLAreaElement.h |
@@ -34,7 +34,7 @@ class Path; |
class HTMLAreaElement FINAL : public HTMLAnchorElement { |
public: |
- static PassRefPtr<HTMLAreaElement> create(const QualifiedName&, Document*); |
+ static PassRefPtr<HTMLAreaElement> create(const QualifiedName&, Document&); |
bool isDefault() const { return m_shape == Default; } |
@@ -47,7 +47,7 @@ public: |
HTMLImageElement* imageElement() const; |
private: |
- HTMLAreaElement(const QualifiedName&, Document*); |
+ HTMLAreaElement(const QualifiedName&, Document&); |
virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERRIDE; |
virtual bool supportsFocus() const; |