From 5ff81e67e25f3b5cb8789ba36c448b49dcbc32c3 Mon Sep 17 00:00:00 2001 From: Josh Matthews Date: Thu, 10 Jan 2013 22:50:25 +0100 Subject: [PATCH] Backed out changeset 4fb3f83287fb (bug 829043) --- netwerk/protocol/ftp/FTPChannelParent.cpp | 4 ---- netwerk/protocol/wyciwyg/WyciwygChannelParent.cpp | 4 ---- 2 files changed, 8 deletions(-) diff --git a/netwerk/protocol/ftp/FTPChannelParent.cpp b/netwerk/protocol/ftp/FTPChannelParent.cpp index b7bed6e8db92..c69e25e03c43 100644 --- a/netwerk/protocol/ftp/FTPChannelParent.cpp +++ b/netwerk/protocol/ftp/FTPChannelParent.cpp @@ -93,10 +93,6 @@ FTPChannelParent::RecvAsyncOpen(const URIParams& aURI, mChannel->SetPrivate(mPBOverride == kPBOverride_Private ? true : false); } - rv = mChannel->SetNotificationCallbacks(this); - if (NS_FAILED(rv)) - return SendFailedAsyncOpen(rv); - nsCOMPtr upload = DeserializeInputStream(aUploadStream); if (upload) { // contentType and contentLength are ignored diff --git a/netwerk/protocol/wyciwyg/WyciwygChannelParent.cpp b/netwerk/protocol/wyciwyg/WyciwygChannelParent.cpp index 0641261fa0e4..d6711cdde46c 100644 --- a/netwerk/protocol/wyciwyg/WyciwygChannelParent.cpp +++ b/netwerk/protocol/wyciwyg/WyciwygChannelParent.cpp @@ -122,10 +122,6 @@ WyciwygChannelParent::RecvAsyncOpen(const URIParams& aOriginal, pbChannel->SetPrivate(loadContext.mUsePrivateBrowsing); } - rv = mChannel->SetNotificationCallbacks(this); - if (NS_FAILED(rv)) - return SendCancelEarly(rv); - rv = mChannel->AsyncOpen(this, nullptr); if (NS_FAILED(rv)) return SendCancelEarly(rv);