Bug 304003 Bfcache does not work anymore

patch by biesi r=bryner sr=smfr a=chase
This commit is contained in:
timeless%mozdev.org 2005-08-09 21:29:23 +00:00
Родитель 9f6a73b9bb
Коммит 8ce85b83a1
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -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;