Index: Source/core/html/HTMLAnchorElement.h |
diff --git a/Source/core/html/HTMLAnchorElement.h b/Source/core/html/HTMLAnchorElement.h |
index 7b4b1412da6aa5b1a621e1d75002687b4d8384ca..a3410b56333c1780ad02b8b5e52414ebb098ac00 100644 |
--- a/Source/core/html/HTMLAnchorElement.h |
+++ b/Source/core/html/HTMLAnchorElement.h |
@@ -55,8 +55,8 @@ enum { |
class HTMLAnchorElement : public HTMLElement { |
public: |
- static PassRefPtr<HTMLAnchorElement> create(Document*); |
- static PassRefPtr<HTMLAnchorElement> create(const QualifiedName&, Document*); |
+ static PassRefPtr<HTMLAnchorElement> create(Document&); |
+ static PassRefPtr<HTMLAnchorElement> create(const QualifiedName&, Document&); |
virtual ~HTMLAnchorElement(); |
@@ -103,7 +103,7 @@ public: |
void invalidateCachedVisitedLinkHash() { m_cachedVisitedLinkHash = 0; } |
protected: |
- HTMLAnchorElement(const QualifiedName&, Document*); |
+ HTMLAnchorElement(const QualifiedName&, Document&); |
virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERRIDE; |