Remove incorrect nulling out of members that duplicates the correct code in Shutdown. (Bug 652385) r=bzbarsky

This commit is contained in:
L. David Baron 2011-04-28 10:21:36 -07:00
parent 5fba39075d
commit f0c3913fba
2 changed files with 1 additions and 7 deletions

View File

@ -193,12 +193,6 @@ nsLayoutStylesheetCache::nsLayoutStylesheetCache()
NS_ASSERTION(mQuirkSheet, "Could not load quirk.css");
}
nsLayoutStylesheetCache::~nsLayoutStylesheetCache()
{
gCSSLoader = nsnull;
gStyleCache = nsnull;
}
void
nsLayoutStylesheetCache::EnsureGlobal()
{

View File

@ -69,7 +69,7 @@ class nsLayoutStylesheetCache
private:
nsLayoutStylesheetCache();
~nsLayoutStylesheetCache();
~nsLayoutStylesheetCache() {}
static void EnsureGlobal();
void InitFromProfile();