Port bug 1633790 - Add aChannel argument to nsStreamConverter.getConvertedType. rs=bustage-fix
authorGeoff Lankow <geoff@darktrojan.net>
Thu, 07 May 2020 16:55:19 +1200
changeset 29507 1ae16df985dc5755f93cba8d8e9472efa81800f3
parent 29506 ac2e45bcc600711a6871f81d4781158816e69e1b
child 29508 5559a05ade37f165b20a1b26993a8f423cedc2c2
push id17405
push usergeoff@darktrojan.net
push dateThu, 07 May 2020 04:56:31 +0000
treeherdercomm-central@1ae16df985dc [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbustage-fix
bugs1633790
Port bug 1633790 - Add aChannel argument to nsStreamConverter.getConvertedType. rs=bustage-fix
mailnews/mime/src/nsStreamConverter.cpp
--- a/mailnews/mime/src/nsStreamConverter.cpp
+++ b/mailnews/mime/src/nsStreamConverter.cpp
@@ -1009,11 +1009,12 @@ NS_IMETHODIMP nsStreamConverter::FirePen
   if (mPendingRequest && mOutListener) {
     mOutListener->OnStartRequest(mPendingRequest);
     mPendingRequest = nullptr;
   }
   return NS_OK;
 }
 
 NS_IMETHODIMP nsStreamConverter::GetConvertedType(const nsACString &aFromType,
+                                                  nsIChannel* aChannel,
                                                   nsACString &aToType) {
   return NS_ERROR_NOT_IMPLEMENTED;
 }