mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 634555 - Do not fib in the child process about whether we have gotten mime info or not, r=blassey, sr=bz, a=blocking-fennec:2.0,blassey
This commit is contained in:
parent
780ff82ea8
commit
c5197f8eeb
@ -78,7 +78,7 @@ nsMIMEInfoAndroid::GetMimeInfoForMimeType(const nsACString& aMimeType,
|
||||
// the mime type for now and let the system deal with it
|
||||
if (!bridge){
|
||||
info.forget(aMimeInfo);
|
||||
return PR_TRUE;
|
||||
return PR_FALSE;
|
||||
}
|
||||
|
||||
nsIHandlerApp* systemDefault = nsnull;
|
||||
@ -107,6 +107,7 @@ nsMIMEInfoAndroid::GetMimeInfoForFileExt(const nsACString& aFileExt,
|
||||
if (mozilla::AndroidBridge::Bridge())
|
||||
mozilla::AndroidBridge::Bridge()->
|
||||
GetMimeTypeFromExtensions(aFileExt, mimeType);
|
||||
|
||||
return GetMimeInfoForMimeType(mimeType, aMimeInfo);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user