mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 00:01:50 +00:00
It's GetSecurityManager, not SecurityManager now.
This commit is contained in:
parent
2769c965b7
commit
137be2496d
@ -108,7 +108,7 @@ nsDOMWindowUtils::GetDocumentMetadata(const nsAString& aName,
|
||||
nsAString& aValue)
|
||||
{
|
||||
PRBool hasCap = PR_FALSE;
|
||||
if (NS_FAILED(nsContentUtils::SecurityManager()->IsCapabilityEnabled("UniversalXPConnect", &hasCap))
|
||||
if (NS_FAILED(nsContentUtils::GetSecurityManager()->IsCapabilityEnabled("UniversalXPConnect", &hasCap))
|
||||
|| !hasCap)
|
||||
return NS_ERROR_DOM_SECURITY_ERR;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user