Index: Source/core/dom/Document.cpp |
diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp |
index 0b4277c3be96e0c2a25dc71792fb3cf47fdc8481..14958afaf5ea83806fb845f8ea3199a62c3cc6cb 100644 |
--- a/Source/core/dom/Document.cpp |
+++ b/Source/core/dom/Document.cpp |
@@ -2329,7 +2329,7 @@ PassRefPtr<DocumentParser> Document::createParser() |
return HTMLDocumentParser::create(toHTMLDocument(this), reportErrors); |
} |
// FIXME: this should probably pass the frame instead |
- return XMLDocumentParser::create(this, view()); |
+ return XMLDocumentParser::create(*this, view()); |
} |
bool Document::isFrameSet() const |