| Index: Source/core/html/HTMLCanvasElement.h
|
| diff --git a/Source/core/html/HTMLCanvasElement.h b/Source/core/html/HTMLCanvasElement.h
|
| index 1ff23b2010ce1674304fd98a0dd5e5ba15591f79..a9daa99a7e7298f5470622f564895a2581d30e10 100644
|
| --- a/Source/core/html/HTMLCanvasElement.h
|
| +++ b/Source/core/html/HTMLCanvasElement.h
|
| @@ -58,8 +58,8 @@ public:
|
|
|
| class HTMLCanvasElement FINAL : public HTMLElement {
|
| public:
|
| - static PassRefPtr<HTMLCanvasElement> create(Document*);
|
| - static PassRefPtr<HTMLCanvasElement> create(const QualifiedName&, Document*);
|
| + static PassRefPtr<HTMLCanvasElement> create(Document&);
|
| + static PassRefPtr<HTMLCanvasElement> create(const QualifiedName&, Document&);
|
| virtual ~HTMLCanvasElement();
|
|
|
| void addObserver(CanvasObserver*);
|
| @@ -135,7 +135,7 @@ public:
|
| InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE;
|
|
|
| private:
|
| - HTMLCanvasElement(const QualifiedName&, Document*);
|
| + HTMLCanvasElement(const QualifiedName&, Document&);
|
|
|
| virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERRIDE;
|
| virtual RenderObject* createRenderer(RenderStyle*);
|
|
|