Attempt to fix btek bustage
git-svn-id: svn://10.0.0.236/trunk@173539 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user