Index: Source/core/dom/Document.cpp |
diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp |
index a9f5313e46dd9327c41c245a8535b97d43bf4e7e..1d4ed43be636e1c8a64d26f343e3cfb5be7c9bdf 100644 |
--- a/Source/core/dom/Document.cpp |
+++ b/Source/core/dom/Document.cpp |
@@ -654,7 +654,7 @@ void Document::setDoctype(PassRefPtr<DocumentType> docType) |
DOMImplementation* Document::implementation() |
{ |
if (!m_implementation) |
- m_implementation = DOMImplementation::create(this); |
+ m_implementation = DOMImplementation::create(*this); |
return m_implementation.get(); |
} |