зеркало из https://github.com/mozilla/gecko-dev.git
916d8bacc7
This converts nsHTMLTags hashtables from PLHash to nsDataHashtable which gives us both type safety and simpler code. Addtionally `gTagTable` now holds a nsString instead of a raw char16_t pointer, this has the benefit of the strings knowing their sizes allowing for more efficient comparisons. We avoid heap allocations in the nsString by using `AssignLiteral` with the string from the static string array. --HG-- extra : rebase_source : 3ab6409de5e933beb868a0b371dff81e56df0810 |
||
---|---|---|
.. | ||
tests | ||
CNavDTD.cpp | ||
CNavDTD.h | ||
CParserContext.cpp | ||
CParserContext.h | ||
moz.build | ||
nsElementTable.cpp | ||
nsElementTable.h | ||
nsExpatDriver.cpp | ||
nsExpatDriver.h | ||
nsHTMLTagList.h | ||
nsHTMLTags.cpp | ||
nsHTMLTags.h | ||
nsHTMLTokenizer.cpp | ||
nsHTMLTokenizer.h | ||
nsIContentSink.h | ||
nsIDTD.h | ||
nsIExpatSink.idl | ||
nsIFragmentContentSink.h | ||
nsIHTMLContentSink.h | ||
nsIParser.h | ||
nsITokenizer.h | ||
nsParser.cpp | ||
nsParser.h | ||
nsParserBase.h | ||
nsParserCIID.h | ||
nsParserConstants.h | ||
nsParserModule.cpp | ||
nsParserMsgUtils.cpp | ||
nsParserMsgUtils.h | ||
nsScanner.cpp | ||
nsScanner.h | ||
nsScannerString.cpp | ||
nsScannerString.h |