From b00a25921e14d23a2fb692518b7eeac1c7c6d97c Mon Sep 17 00:00:00 2001 From: "nisheeth@netscape.com" Date: Thu, 6 May 1999 01:50:26 +0000 Subject: [PATCH] Pass in the document object as a key to the parser. --- content/html/document/src/nsHTMLDocument.cpp | 2 +- layout/html/document/src/nsHTMLDocument.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/content/html/document/src/nsHTMLDocument.cpp b/content/html/document/src/nsHTMLDocument.cpp index 5fdb4f5b5c6d..4a0feb64f44c 100644 --- a/content/html/document/src/nsHTMLDocument.cpp +++ b/content/html/document/src/nsHTMLDocument.cpp @@ -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); } diff --git a/layout/html/document/src/nsHTMLDocument.cpp b/layout/html/document/src/nsHTMLDocument.cpp index 5fdb4f5b5c6d..4a0feb64f44c 100644 --- a/layout/html/document/src/nsHTMLDocument.cpp +++ b/layout/html/document/src/nsHTMLDocument.cpp @@ -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); }