| Index: Source/core/html/HTMLSourceElement.h
|
| diff --git a/Source/core/html/HTMLSourceElement.h b/Source/core/html/HTMLSourceElement.h
|
| index b1a38ca48d70ee9f32b0dec57c29dc6a4cd53db9..02378ccf5b9486d42fdaa7ee541c0ee08fe338ef 100644
|
| --- a/Source/core/html/HTMLSourceElement.h
|
| +++ b/Source/core/html/HTMLSourceElement.h
|
| @@ -33,8 +33,8 @@ namespace WebCore {
|
|
|
| class HTMLSourceElement FINAL : public HTMLElement {
|
| public:
|
| - static PassRefPtr<HTMLSourceElement> create(Document* document) { return create(HTMLNames::sourceTag, document); }
|
| - static PassRefPtr<HTMLSourceElement> create(const QualifiedName&, Document*);
|
| + static PassRefPtr<HTMLSourceElement> create(Document& document) { return create(HTMLNames::sourceTag, document); }
|
| + static PassRefPtr<HTMLSourceElement> create(const QualifiedName&, Document&);
|
|
|
| String media() const;
|
| String type() const;
|
| @@ -46,7 +46,7 @@ public:
|
| void cancelPendingErrorEvent();
|
|
|
| private:
|
| - HTMLSourceElement(const QualifiedName&, Document*);
|
| + HTMLSourceElement(const QualifiedName&, Document&);
|
|
|
| virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE;
|
| virtual void removedFrom(ContainerNode*) OVERRIDE;
|
|
|