Index: Source/core/dom/DOMImplementation.h |
diff --git a/Source/core/dom/DOMImplementation.h b/Source/core/dom/DOMImplementation.h |
index 7a93cc00557938dea6b6f0dc86561d111bcaf9b2..ed85ffbb7746e88db9022798af05f336f1e15573 100644 |
--- a/Source/core/dom/DOMImplementation.h |
+++ b/Source/core/dom/DOMImplementation.h |
@@ -47,7 +47,7 @@ public: |
void ref() { m_document.ref(); } |
void deref() { m_document.deref(); } |
- Document* document() { return &m_document; } |
+ Document& document() { return m_document; } |
// DOM methods & attributes for DOMImplementation |
static bool hasFeature(const String& feature, const String& version); |