| Index: Source/core/dom/Document.cpp
|
| diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp
|
| index 89355716e7e196b62897d795a11cb3b0fab89f06..a008b80d31fca812afcc4ffe30c8e32c71daa5f4 100644
|
| --- a/Source/core/dom/Document.cpp
|
| +++ b/Source/core/dom/Document.cpp
|
| @@ -2321,7 +2321,7 @@ PassRefPtr<DocumentParser> Document::createParser()
|
| {
|
| if (isHTMLDocument()) {
|
| bool reportErrors = InspectorInstrumentation::collectingHTMLParseErrors(page());
|
| - return HTMLDocumentParser::create(toHTMLDocument(this), reportErrors);
|
| + return HTMLDocumentParser::create(toHTMLDocument(*this), reportErrors);
|
| }
|
| // FIXME: this should probably pass the frame instead
|
| return XMLDocumentParser::create(*this, view());
|
|
|