mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-24 13:52:37 +00:00
backing out unauthorized checkin to closed tree, as per Asa
This commit is contained in:
parent
b9aa9e56ce
commit
620f2260ab
@ -168,12 +168,8 @@ IMAGE_CheckForPermission
|
||||
/* use common routine to make decision */
|
||||
PRUnichar * message = CKutil_Localize(NS_LITERAL_STRING("PermissionToAcceptImage").get());
|
||||
PRUnichar * new_string = nsTextFormatter::smprintf(message, hostname ? hostname : "");
|
||||
if (NS_SUCCEEDED(PERMISSION_Read())) {
|
||||
*permission = Permission_Check(0, hostname, IMAGEPERMISSION,
|
||||
image_GetWarningPref(), new_string);
|
||||
} else {
|
||||
*permission = PR_TRUE;
|
||||
}
|
||||
*permission = Permission_Check(0, hostname, IMAGEPERMISSION,
|
||||
image_GetWarningPref(), new_string);
|
||||
PR_FREEIF(new_string);
|
||||
Recycle(message);
|
||||
return NS_OK;
|
||||
|
Loading…
x
Reference in New Issue
Block a user