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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user