Index: Source/core/dom/Document.h |
diff --git a/Source/core/dom/Document.h b/Source/core/dom/Document.h |
index 587a094fb917721edbf9c54785573fb6fe91340f..a022db26f051a80acadf2e3ade51ab399e031b17 100644 |
--- a/Source/core/dom/Document.h |
+++ b/Source/core/dom/Document.h |
@@ -1052,7 +1052,7 @@ public: |
HTMLDialogElement* activeModalDialog() const; |
const Document* templateDocument() const; |
- Document* ensureTemplateDocument(); |
+ Document& ensureTemplateDocument(); |
void setTemplateDocumentHost(Document* templateDocumentHost) { m_templateDocumentHost = templateDocumentHost; } |
Document* templateDocumentHost() { return m_templateDocumentHost; } |