Index: Source/core/html/parser/HTMLConstructionSite.h |
diff --git a/Source/core/html/parser/HTMLConstructionSite.h b/Source/core/html/parser/HTMLConstructionSite.h |
index cae255ca9a0e1144ae3724082d94460d226edadd..ba03ce72d34e2bb807ccd30a5294cad77f889ad6 100644 |
--- a/Source/core/html/parser/HTMLConstructionSite.h |
+++ b/Source/core/html/parser/HTMLConstructionSite.h |
@@ -143,7 +143,7 @@ public: |
ContainerNode* currentNode() const { return m_openElements.topNode(); } |
HTMLStackItem* currentStackItem() const { return m_openElements.topStackItem(); } |
HTMLStackItem* oneBelowTop() const { return m_openElements.oneBelowTop(); } |
- Document* ownerDocumentForCurrentNode(); |
+ Document& ownerDocumentForCurrentNode(); |
HTMLElementStack* openElements() const { return &m_openElements; } |
HTMLFormattingElementList* activeFormattingElements() const { return &m_activeFormattingElements; } |
bool currentIsRootNode() { return m_openElements.topNode() == m_openElements.rootNode(); } |