Index: Source/core/html/HTMLImageElement.h |
diff --git a/Source/core/html/HTMLImageElement.h b/Source/core/html/HTMLImageElement.h |
index 590b0ec13e1906407e6bebc98504c5b1dcd513c5..f8acd66d8f4546ca6bfc1c1b838ab5f06a3e7085 100644 |
--- a/Source/core/html/HTMLImageElement.h |
+++ b/Source/core/html/HTMLImageElement.h |
@@ -35,9 +35,9 @@ class HTMLFormElement; |
class HTMLImageElement FINAL : public HTMLElement { |
friend class HTMLFormElement; |
public: |
- static PassRefPtr<HTMLImageElement> create(Document*); |
- static PassRefPtr<HTMLImageElement> create(const QualifiedName&, Document*, HTMLFormElement*); |
- static PassRefPtr<HTMLImageElement> createForJSConstructor(Document*, const int* optionalWidth, const int* optionalHeight); |
+ static PassRefPtr<HTMLImageElement> create(Document&); |
+ static PassRefPtr<HTMLImageElement> create(const QualifiedName&, Document&, HTMLFormElement*); |
+ static PassRefPtr<HTMLImageElement> createForJSConstructor(Document&, const int* optionalWidth, const int* optionalHeight); |
virtual ~HTMLImageElement(); |
@@ -80,7 +80,7 @@ public: |
void removeClient(ImageLoaderClient* client) { m_imageLoader.removeClient(client); } |
protected: |
- HTMLImageElement(const QualifiedName&, Document*, HTMLFormElement* = 0); |
+ HTMLImageElement(const QualifiedName&, Document&, HTMLFormElement* = 0); |
virtual void didMoveToNewDocument(Document* oldDocument) OVERRIDE; |