From c776f5aa61533200c0fb1edb62fa6046fbfbbbdf Mon Sep 17 00:00:00 2001 From: "mscott%netscape.com" Date: Fri, 14 Apr 2000 03:28:23 +0000 Subject: [PATCH] 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 --- mozilla/uriloader/base/nsDocLoader.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); }