From 5e6a0cda69979be1a1a538bd2e947d775dab454a Mon Sep 17 00:00:00 2001 From: "nisheeth%netscape.com" Date: Thu, 6 May 1999 01:51:31 +0000 Subject: [PATCH] Pass a pointer to the document object when you call the Parse method on the parser object.f --- content/xml/document/src/nsXMLDocument.cpp | 2 +- layout/xml/document/src/nsXMLDocument.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/content/xml/document/src/nsXMLDocument.cpp b/content/xml/document/src/nsXMLDocument.cpp index ad93a2fa4b1..2e4f29f45f6 100644 --- a/content/xml/document/src/nsXMLDocument.cpp +++ b/content/xml/document/src/nsXMLDocument.cpp @@ -213,7 +213,7 @@ nsXMLDocument::StartDocumentLoad(nsIURL *aUrl, mParser->SetDocumentCharset(utf8, kCharsetFromDocTypeDefault); mParser->SetCommand(aCommand); mParser->SetContentSink(sink); - mParser->Parse(aUrl); + mParser->Parse(aUrl, nsnull, PR_FALSE, (void *)this); } NS_RELEASE(sink); } diff --git a/layout/xml/document/src/nsXMLDocument.cpp b/layout/xml/document/src/nsXMLDocument.cpp index ad93a2fa4b1..2e4f29f45f6 100644 --- a/layout/xml/document/src/nsXMLDocument.cpp +++ b/layout/xml/document/src/nsXMLDocument.cpp @@ -213,7 +213,7 @@ nsXMLDocument::StartDocumentLoad(nsIURL *aUrl, mParser->SetDocumentCharset(utf8, kCharsetFromDocTypeDefault); mParser->SetCommand(aCommand); mParser->SetContentSink(sink); - mParser->Parse(aUrl); + mParser->Parse(aUrl, nsnull, PR_FALSE, (void *)this); } NS_RELEASE(sink); }