nsAutoString contentType(aContentType);  if (contentType == "multipart/x-mixed-replace" || contentType == "multipart/mixed") {   nsCOMPtr<nsIStreamConverterService> convServ = do_GetService(kStreamConvServiceCID, &rv); if (NS_FAILED(rv)) return rv;  nsAutoString astrix("*/*"); return convServ->AsyncConvertData(contentType.GetUnicode(), astrix.GetUnicode(), NS_STATIC_CAST(nsIStreamListener*, this), nsnull , aContentHandler); }
ImageConsumer::DoContent(const char * aContentType,                      nsURILoadCommand aCommand,                      const char * aWindowTarget,                      nsIChannel * aOpenedChannel,                      nsIStreamListener ** aContentHandler,                      PRBool * aAbortProcess){  nsresult rv = NS_OK;  if (aAbortProcess)    *aAbortProcess = PR_FALSE;  QueryInterface(NS_GET_IID(nsIStreamListener), (void **) aContentHandler);  return rv;}