зеркало из https://github.com/mozilla/pjs.git
Attempt to fix btek bustage
This commit is contained in:
Родитель
5d2f18cdfa
Коммит
15bd25742d
|
@ -5053,7 +5053,7 @@ nsDocShell::RestorePresentation(nsISHEntry *aSHEntry, PRBool aSavePresentation,
|
|||
mFiredUnloadEvent = PR_FALSE;
|
||||
|
||||
if (mContentViewer) {
|
||||
mContentViewer->Close(aSavePresentation ? mOSHE : nsnull);
|
||||
mContentViewer->Close(aSavePresentation ? mOSHE.get() : nsnull);
|
||||
mContentViewer->Destroy();
|
||||
}
|
||||
|
||||
|
@ -5570,7 +5570,7 @@ nsDocShell::SetupNewViewer(nsIContentViewer * aNewViewer)
|
|||
|
||||
// Tell the old content viewer to hibernate in session history when
|
||||
// it is destroyed.
|
||||
mContentViewer->Close(mSavingOldViewer ? mOSHE : nsnull);
|
||||
mContentViewer->Close(mSavingOldViewer ? mOSHE.get() : nsnull);
|
||||
aNewViewer->SetPreviousViewer(mContentViewer);
|
||||
|
||||
mContentViewer = nsnull;
|
||||
|
|
Загрузка…
Ссылка в новой задаче