From be28647be6661e4e63cb77c14a51a79fb4c3f719 Mon Sep 17 00:00:00 2001 From: "rpotts%netscape.com" Date: Tue, 27 Mar 2001 00:56:51 +0000 Subject: [PATCH] All nsIProgressEventSink notifications from the socket transport should go to the nsHTTPChannel... git-svn-id: svn://10.0.0.236/trunk@90462 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/netwerk/protocol/http/src/nsHTTPHandler.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mozilla/netwerk/protocol/http/src/nsHTTPHandler.cpp b/mozilla/netwerk/protocol/http/src/nsHTTPHandler.cpp index 31255b9a840..27c7a93b80f 100644 --- a/mozilla/netwerk/protocol/http/src/nsHTTPHandler.cpp +++ b/mozilla/netwerk/protocol/http/src/nsHTTPHandler.cpp @@ -1183,7 +1183,8 @@ nsresult nsHTTPHandler::RequestTransport(nsIURI* i_Uri, i_Channel->GetLoadAttributes(&loadFlags); nsCOMPtr callbacks; - i_Channel->GetNotificationCallbacks(getter_AddRefs(callbacks)); + + callbacks = do_QueryInterface(NS_STATIC_CAST(nsIHTTPChannel*, i_Channel)); trans->SetNotificationCallbacks(callbacks, (loadFlags & nsIChannel::LOAD_BACKGROUND));