mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 15:52:07 +00:00
bug 50304, adding "static" to security policy struct, should save some memory and time. r=rogerl
This commit is contained in:
parent
6547254b53
commit
63ce73fabf
@ -535,7 +535,7 @@ nsScriptSecurityManager::CheckLoadURI(nsIURI *aFromURI, nsIURI *aURI,
|
||||
}
|
||||
|
||||
enum Action { AllowProtocol, DenyProtocol, PrefControlled };
|
||||
struct {
|
||||
static const struct {
|
||||
const char *name;
|
||||
Action action;
|
||||
} protocolList[] = {
|
||||
|
Loading…
Reference in New Issue
Block a user