From 69ac719674e2f578853798f3232ff665b81168b4 Mon Sep 17 00:00:00 2001 From: "jag%tty.nl" Date: Wed, 18 May 2005 09:54:04 +0000 Subject: [PATCH] Attempt to fix btek bustage git-svn-id: svn://10.0.0.236/trunk@173539 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/docshell/base/nsDocShell.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mozilla/docshell/base/nsDocShell.cpp b/mozilla/docshell/base/nsDocShell.cpp index 5e6c3a7d08b..7f3c74563ad 100644 --- a/mozilla/docshell/base/nsDocShell.cpp +++ b/mozilla/docshell/base/nsDocShell.cpp @@ -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;