265333 NS_NewInputStreamChannel should not overwrite a content charset set from

the content type with an empty string r+sr=darin
This commit is contained in:
cbiesinger@web.de
2004-10-25 13:15:25 +00:00
parent 49f189869c
commit bd5d985df0
5 changed files with 30 additions and 11 deletions

View File

@@ -131,8 +131,7 @@ nsEmbedStream::OpenStream(const char *aBaseURI, const char *aContentType)
// create a new input stream channel
rv = NS_NewInputStreamChannel(getter_AddRefs(mChannel), uri,
NS_STATIC_CAST(nsIInputStream *, this),
nsDependentCString(aContentType),
EmptyCString());
nsDependentCString(aContentType));
if (NS_FAILED(rv))
return rv;