Removed the nsICapabilities interface in favor of nsIInterfaceRequestor.
git-svn-id: svn://10.0.0.236/trunk@53856 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1140,7 +1140,7 @@ nsresult nsDocumentBindInfo::Bind(nsIURI* aURL,
|
||||
nsresult rv = NS_OK;
|
||||
|
||||
// XXXbe this knows that m_Container implements nsIWebShell
|
||||
nsCOMPtr<nsICapabilities> capabilities = do_QueryInterface(m_Container);
|
||||
nsCOMPtr<nsIInterfaceRequestor> capabilities = do_QueryInterface(m_Container);
|
||||
nsCOMPtr<nsIChannel> channel;
|
||||
rv = NS_OpenURI(getter_AddRefs(channel), aURL, aLoadGroup, capabilities);
|
||||
if (NS_FAILED(rv)) return rv;
|
||||
|
||||
Reference in New Issue
Block a user