Pass in the right channel into the web progress listener.

git-svn-id: svn://10.0.0.236/trunk@65943 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mscott%netscape.com
2000-04-14 03:28:23 +00:00
parent d2540f15c6
commit c776f5aa61

View File

@@ -617,9 +617,9 @@ void nsDocLoaderImpl::FireOnEndDocumentLoad(nsDocLoaderImpl* aLoadInitiator,
mProgressStatusFlags = nsIWebProgress::flag_net_stop;
if (aLoadInitiator == this)
mProgressListener->OnStatusChange(mDocumentChannel, mProgressStatusFlags);
mProgressListener->OnStatusChange(aDocChannel, mProgressStatusFlags);
else // the load must be initiated by a child...mscott: I'm passing the WRONG channel here! I need to add a get channel to the doc loader interface
mProgressListener->OnChildStatusChange(mDocumentChannel, mProgressStatusFlags);
mProgressListener->OnChildStatusChange(aDocChannel, mProgressStatusFlags);
}