Index: Source/core/dom/Document.h |
diff --git a/Source/core/dom/Document.h b/Source/core/dom/Document.h |
index c895725783d710aa74c21a8c291e882ea0cd6c36..80f7ef222fda428189b3f040565fb415c0e637e3 100644 |
--- a/Source/core/dom/Document.h |
+++ b/Source/core/dom/Document.h |
@@ -806,7 +806,7 @@ public: |
bool inDesignMode() const; |
Document* parentDocument() const; |
- Document* topDocument() const; |
+ Document& topDocument() const; |
WeakPtr<Document> contextDocument(); |
ScriptRunner* scriptRunner() { return m_scriptRunner.get(); } |