Fix bug 76567 (load viewsource.css on demand rather than at startup). Patch mostly by bzbarsky@mit.edu r=harishd,brendan sr=jst

git-svn-id: svn://10.0.0.236/trunk@93619 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rbs%maths.uq.edu.au
2001-05-02 04:53:38 +00:00
parent a5421ec904
commit 4585cb0bec
7 changed files with 52 additions and 94 deletions

View File

@@ -174,7 +174,6 @@ LayoutScriptNameSet::AddNameSet(nsIScriptContext* aScriptContext)
nsIScriptNameSetRegistry* nsLayoutModule::gRegistry;
nsICSSStyleSheet* nsLayoutModule::gUAStyleSheet = nsnull;
nsIStyleSheet* nsLayoutModule::gViewSourceStyleSheet = nsnull;
nsLayoutModule::nsLayoutModule()
: mInitialized(PR_FALSE)
@@ -280,7 +279,6 @@ nsLayoutModule::Shutdown()
NS_IF_RELEASE(gRegistry);
NS_IF_RELEASE(gUAStyleSheet);
NS_IF_RELEASE(gViewSourceStyleSheet);
}
NS_IMETHODIMP