diff --git a/mozilla/layout/generic/nsFrameFrame.cpp b/mozilla/layout/generic/nsFrameFrame.cpp index 29363831f4b..808e24f6514 100644 --- a/mozilla/layout/generic/nsFrameFrame.cpp +++ b/mozilla/layout/generic/nsFrameFrame.cpp @@ -432,7 +432,8 @@ nsHTMLFrameInnerFrame::~nsHTMLFrameInnerFrame() { //printf("nsHTMLFrameInnerFrame destructor %X \n", this); if (nsnull != mWebShell) { - mWebShell->Destroy(); +//XXX Let mWebShell's parent destroy it because now may not be a good time +// mWebShell->Destroy(); NS_RELEASE(mWebShell); } NS_RELEASE(mTempObserver); diff --git a/mozilla/layout/html/document/src/nsFrameFrame.cpp b/mozilla/layout/html/document/src/nsFrameFrame.cpp index 29363831f4b..808e24f6514 100644 --- a/mozilla/layout/html/document/src/nsFrameFrame.cpp +++ b/mozilla/layout/html/document/src/nsFrameFrame.cpp @@ -432,7 +432,8 @@ nsHTMLFrameInnerFrame::~nsHTMLFrameInnerFrame() { //printf("nsHTMLFrameInnerFrame destructor %X \n", this); if (nsnull != mWebShell) { - mWebShell->Destroy(); +//XXX Let mWebShell's parent destroy it because now may not be a good time +// mWebShell->Destroy(); NS_RELEASE(mWebShell); } NS_RELEASE(mTempObserver);