Fixing bug 109400. Removing unnecessary layers of abstraction from nsHTMLTags that does nothing for us except using more memory than we need to use, and makes us slower. This makes nsHTMLTags::LookupTag() 4 times faster. r=harishd@netscape.com, rs=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@109117 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -97,7 +97,9 @@ PR_STATIC_CALLBACK(nsresult)
|
||||
Initialize(nsIModule* aSelf)
|
||||
{
|
||||
if (!gInitialized) {
|
||||
nsHTMLTags::AddRefTable();
|
||||
nsresult rv = nsHTMLTags::AddRefTable();
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
|
||||
nsHTMLEntities::AddRefTable();
|
||||
InitializeElementTable();
|
||||
CNewlineToken::AllocNewline();
|
||||
|
||||
Reference in New Issue
Block a user