Index: Source/core/html/HTMLBodyElement.h |
diff --git a/Source/core/html/HTMLBodyElement.h b/Source/core/html/HTMLBodyElement.h |
index 8a8823851a4cf9912402ab7c795229040c14bc01..fd1a960d37cfe9d95b9b80ac44bf5111e4767901 100644 |
--- a/Source/core/html/HTMLBodyElement.h |
+++ b/Source/core/html/HTMLBodyElement.h |
@@ -32,8 +32,8 @@ class Document; |
class HTMLBodyElement FINAL : public HTMLElement { |
public: |
- static PassRefPtr<HTMLBodyElement> create(Document*); |
- static PassRefPtr<HTMLBodyElement> create(const QualifiedName&, Document*); |
+ static PassRefPtr<HTMLBodyElement> create(Document&); |
+ static PassRefPtr<HTMLBodyElement> create(const QualifiedName&, Document&); |
virtual ~HTMLBodyElement(); |
String aLink() const; |
@@ -68,7 +68,7 @@ public: |
#endif |
private: |
- HTMLBodyElement(const QualifiedName&, Document*); |
+ HTMLBodyElement(const QualifiedName&, Document&); |
virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERRIDE; |
virtual bool isPresentationAttribute(const QualifiedName&) const OVERRIDE; |