Fix for bug 5850:
1) Add a RemoveChild() method to nsIWebshell. 2) nsWebshell::Destroy() calls this method on its parent to remove itself from the parent's child list. 3) Call nsWebshell::Destroy() from nsHTMLFrameInnerFrame's detructor. git-svn-id: svn://10.0.0.236/trunk@30303 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
e52e4fba1b
commit
6cc6d8d9b0
@ -262,6 +262,11 @@ public:
|
||||
*/
|
||||
NS_IMETHOD AddChild(nsIWebShell* aChild) = 0;
|
||||
|
||||
/**
|
||||
* Remove a child WebShell.
|
||||
*/
|
||||
NS_IMETHOD RemoveChild(nsIWebShell* aChild) = 0;
|
||||
|
||||
/**
|
||||
* Return the child WebShell at the requested index.
|
||||
*/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user