Bug 1604619 - Port bug 1574372: Add nsStreamConverter::GetConvertedType(). r=mkmelin
authorBen Campbell <benc@thunderbird.net>
Tue, 17 Dec 2019 23:28:21 +0200
changeset 37768 bc93079edb4565cac8d0d0db152127021f397457
parent 37767 fdf7ac32d1b28b64cf34510f73904fba08382473
child 37769 13f0d32f30288b96cd7dd7c79dc844675e4e8fcb
push id397
push userclokep@gmail.com
push dateMon, 10 Feb 2020 21:16:13 +0000
reviewersmkmelin
bugs1604619, 1574372
Bug 1604619 - Port bug 1574372: Add nsStreamConverter::GetConvertedType(). r=mkmelin
mailnews/mime/src/nsStreamConverter.cpp
--- a/mailnews/mime/src/nsStreamConverter.cpp
+++ b/mailnews/mime/src/nsStreamConverter.cpp
@@ -1007,8 +1007,13 @@ NS_IMETHODIMP nsStreamConverter::AsyncCo
 
 NS_IMETHODIMP nsStreamConverter::FirePendingStartRequest() {
   if (mPendingRequest && mOutListener) {
     mOutListener->OnStartRequest(mPendingRequest);
     mPendingRequest = nullptr;
   }
   return NS_OK;
 }
+
+NS_IMETHODIMP nsStreamConverter::GetConvertedType(const nsACString &aFromType,
+                                                  nsACString &aToType) {
+  return NS_ERROR_NOT_IMPLEMENTED;
+}