Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa
This commit is contained in:
@@ -1100,8 +1100,8 @@ nsImageFrame::TriggerLink(nsIPresContext* aPresContext,
|
||||
// Check that this page is allowed to load this URI.
|
||||
// Almost a copy of the similarly named method in nsGenericElement
|
||||
nsresult rv;
|
||||
NS_WITH_SERVICE(nsIScriptSecurityManager, securityManager,
|
||||
NS_SCRIPTSECURITYMANAGER_CONTRACTID, &rv);
|
||||
nsCOMPtr<nsIScriptSecurityManager> securityManager =
|
||||
do_GetService(NS_SCRIPTSECURITYMANAGER_CONTRACTID, &rv);
|
||||
|
||||
nsCOMPtr<nsIPresShell> ps;
|
||||
if (NS_SUCCEEDED(rv))
|
||||
|
||||
Reference in New Issue
Block a user