diff --git a/mozilla/uriloader/base/nsDocLoader.cpp b/mozilla/uriloader/base/nsDocLoader.cpp index dab5a951f68..056e8278f96 100644 --- a/mozilla/uriloader/base/nsDocLoader.cpp +++ b/mozilla/uriloader/base/nsDocLoader.cpp @@ -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); }