Pass in the document object as a key to the parser.
This commit is contained in:
@@ -339,7 +339,7 @@ nsHTMLDocument::StartDocumentLoad(nsIURL *aURL,
|
||||
mParser->SetDocumentCharset( charset, charsetSource);
|
||||
mParser->SetCommand(aCommand);
|
||||
mParser->SetContentSink(sink);
|
||||
mParser->Parse(aURL);
|
||||
mParser->Parse(aURL, nsnull, PR_FALSE, (void *)this);
|
||||
}
|
||||
NS_RELEASE(sink);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user