Removed the SetURLDispatcher call.
git-svn-id: svn://10.0.0.236/trunk@54407 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
a779a909e7
commit
ecf4583b04
@ -1523,14 +1523,6 @@ nsWebShellWindow::ContentShellAdded(nsIWebShell* aChildShell, nsIContent* frameN
|
||||
|
||||
AddWebShellInfo(value, isPrimary, aChildShell);
|
||||
|
||||
// For some reason nsCOMPtr and do_queryInterface fail here
|
||||
if (aChildShell) {
|
||||
nsIUrlDispatcher * ud = nsnull;
|
||||
QueryInterface(kIUrlDispatcherIID, (void **)&ud);
|
||||
aChildShell->SetUrlDispatcher(ud);
|
||||
NS_RELEASE(ud);
|
||||
}
|
||||
|
||||
NS_RELEASE(typeAtom);
|
||||
NS_RELEASE(idAtom);
|
||||
return NS_OK;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user