зеркало из https://github.com/mozilla/gecko-dev.git
disabled another printf; use web-shell destroy to properly whack the sub-webshell
This commit is contained in:
Родитель
dd21432b23
Коммит
0de0988eb8
|
@ -405,10 +405,9 @@ nsHTMLFrameInnerFrame::nsHTMLFrameInnerFrame(nsIContent* aContent,
|
|||
|
||||
nsHTMLFrameInnerFrame::~nsHTMLFrameInnerFrame()
|
||||
{
|
||||
printf("nsHTMLFrameInnerFrame destructor %X \n", this);
|
||||
//printf("nsHTMLFrameInnerFrame destructor %X \n", this);
|
||||
if (nsnull != mWebShell) {
|
||||
// XXX: Is the needed (or wanted?)
|
||||
mWebShell->SetContainer(nsnull);
|
||||
mWebShell->Destroy();
|
||||
NS_RELEASE(mWebShell);
|
||||
}
|
||||
NS_RELEASE(mTempObserver);
|
||||
|
|
|
@ -405,10 +405,9 @@ nsHTMLFrameInnerFrame::nsHTMLFrameInnerFrame(nsIContent* aContent,
|
|||
|
||||
nsHTMLFrameInnerFrame::~nsHTMLFrameInnerFrame()
|
||||
{
|
||||
printf("nsHTMLFrameInnerFrame destructor %X \n", this);
|
||||
//printf("nsHTMLFrameInnerFrame destructor %X \n", this);
|
||||
if (nsnull != mWebShell) {
|
||||
// XXX: Is the needed (or wanted?)
|
||||
mWebShell->SetContainer(nsnull);
|
||||
mWebShell->Destroy();
|
||||
NS_RELEASE(mWebShell);
|
||||
}
|
||||
NS_RELEASE(mTempObserver);
|
||||
|
|
Загрузка…
Ссылка в новой задаче