mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 22:01:30 +00:00
this time, a correct fix...
This commit is contained in:
parent
0155a1bd28
commit
91a4cf7af2
@ -1299,9 +1299,8 @@ nsresult nsExternalAppHandler::SetUpTempFile(nsIChannel * aChannel)
|
||||
#if defined(XP_MAC) || defined (XP_MACOSX)
|
||||
nsCAutoString contentType;
|
||||
mMimeInfo->GetMIMEType(contentType);
|
||||
if (contentType &&
|
||||
(contentType.EqualsIgnoreCase(APPLICATION_APPLEFILE) == 0) ||
|
||||
(contentType.EqualsIgnoreCase(MULTIPART_APPLEDOUBLE) == 0))
|
||||
if (contentType.EqualsIgnoreCase(APPLICATION_APPLEFILE) ||
|
||||
contentType.EqualsIgnoreCase(MULTIPART_APPLEDOUBLE))
|
||||
{
|
||||
nsCOMPtr<nsIAppleFileDecoder> appleFileDecoder = do_CreateInstance(NS_IAPPLEFILEDECODER_CONTRACTID, &rv);
|
||||
if (NS_SUCCEEDED(rv) && appleFileDecoder)
|
||||
|
Loading…
Reference in New Issue
Block a user