Bug 304003 Bfcache does not work anymore

patch by biesi r=bryner sr=smfr a=chase


git-svn-id: svn://10.0.0.236/trunk@177445 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
timeless%mozdev.org 2005-08-09 21:29:23 +00:00
parent 76cdcbd475
commit 741d9d5dcc

View File

@ -174,7 +174,7 @@ static PRInt32 gRunningTimeoutDepth = 0;
PRInt32 gTimeoutCnt = 0;
#endif
#ifdef DEBUG_bryner
#if defined(DEBUG_bryner) || defined(DEBUG_chb)
#define DEBUG_PAGE_CACHE
#endif
@ -6607,7 +6607,7 @@ nsGlobalWindow::SaveWindowState(nsISupports **aState)
printf("saving window state, stateObj = %p\n", (void*)stateObj);
#endif
nsresult rv = CopyJSProperties(cx, mJSObject, stateObj);
NS_ENSURE_TRUE(rv, rv);
NS_ENSURE_SUCCESS(rv, rv);
state.swap(*aState);
return NS_OK;