| Index: Source/core/dom/TemplateContentDocumentFragment.h
|
| diff --git a/Source/core/dom/TemplateContentDocumentFragment.h b/Source/core/dom/TemplateContentDocumentFragment.h
|
| index 6ede6f3975245bc29515d696757df4fb482f0e0c..b2023d0d1255e71fb814856ac4a283f11b02fbdc 100644
|
| --- a/Source/core/dom/TemplateContentDocumentFragment.h
|
| +++ b/Source/core/dom/TemplateContentDocumentFragment.h
|
| @@ -33,7 +33,7 @@ namespace WebCore {
|
|
|
| class TemplateContentDocumentFragment FINAL : public DocumentFragment {
|
| public:
|
| - static PassRefPtr<TemplateContentDocumentFragment> create(Document* document, const Element* host)
|
| + static PassRefPtr<TemplateContentDocumentFragment> create(Document& document, const Element* host)
|
| {
|
| return adoptRef(new TemplateContentDocumentFragment(document, host));
|
| }
|
| @@ -41,8 +41,8 @@ public:
|
| const Element* host() const { return m_host; }
|
|
|
| private:
|
| - TemplateContentDocumentFragment(Document* document, const Element* host)
|
| - : DocumentFragment(document, CreateDocumentFragment)
|
| + TemplateContentDocumentFragment(Document& document, const Element* host)
|
| + : DocumentFragment(&document, CreateDocumentFragment)
|
| , m_host(host)
|
| {
|
| }
|
|
|