Improve the speed of viewsource - Patch of Boris Zbarsky <bzbarsky@mit.edu> b=74486 r=rbs r=attinasi
This commit is contained in:
@@ -174,6 +174,7 @@ LayoutScriptNameSet::AddNameSet(nsIScriptContext* aScriptContext)
|
||||
|
||||
nsIScriptNameSetRegistry* nsLayoutModule::gRegistry;
|
||||
nsICSSStyleSheet* nsLayoutModule::gUAStyleSheet = nsnull;
|
||||
nsIStyleSheet* nsLayoutModule::gViewSourceStyleSheet = nsnull;
|
||||
|
||||
nsLayoutModule::nsLayoutModule()
|
||||
: mInitialized(PR_FALSE)
|
||||
@@ -279,6 +280,7 @@ nsLayoutModule::Shutdown()
|
||||
|
||||
NS_IF_RELEASE(gRegistry);
|
||||
NS_IF_RELEASE(gUAStyleSheet);
|
||||
NS_IF_RELEASE(gViewSourceStyleSheet);
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
|
||||
Reference in New Issue
Block a user