mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1066671 - Regression: Downloading is broken r=wesj
This commit is contained in:
parent
dc00bc0160
commit
d53f87bb99
@ -32,9 +32,10 @@ nsParentalControlsService::GetParentalControlsEnabled(bool *aResult)
|
||||
NS_IMETHODIMP
|
||||
nsParentalControlsService::GetBlockFileDownloadsEnabled(bool *aResult)
|
||||
{
|
||||
// NOTE: isAllowed returns the opposite intention, so we need to flip it
|
||||
bool res;
|
||||
IsAllowed(nsIParentalControlsService::DOWNLOAD, NULL, &res);
|
||||
*aResult = res;
|
||||
*aResult = !res;
|
||||
|
||||
return NS_OK;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user