Bug 646641 - Part 1: SHEntries for the same document should share bfcache state. r=smaug

This commit is contained in:
Justin Lebar
2011-05-09 17:59:49 -04:00
parent 66e6ec52a5
commit 04a6be5beb
18 changed files with 879 additions and 530 deletions

View File

@@ -66,6 +66,7 @@
// session history
#include "nsSHEntry.h"
#include "nsSHEntryShared.h"
#include "nsSHistory.h"
#include "nsSHTransaction.h"
@@ -87,15 +88,15 @@ Initialize()
nsresult rv = nsSHistory::Startup();
NS_ENSURE_SUCCESS(rv, rv);
rv = nsSHEntry::Startup();
return rv;
nsSHEntryShared::Startup();
return NS_OK;
}
static void
Shutdown()
{
nsSHistory::Shutdown();
nsSHEntry::Shutdown();
nsSHEntryShared::Shutdown();
gInitialized = PR_FALSE;
}