mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-07 08:18:41 +09:00
Bug 1355479 - Flatten attribute storage in the HTML parser to AutoTArray to avoid malloc.
HTML Regen. Tag UXP Issue #1344
This commit is contained in:
parent
a330217f3f
commit
84ba7ad062
18 changed files with 66 additions and 71 deletions
|
|
@ -51,7 +51,6 @@ class nsHtml5Tokenizer;
|
|||
class nsHtml5TreeBuilder;
|
||||
class nsHtml5MetaScanner;
|
||||
class nsHtml5ElementName;
|
||||
class nsHtml5HtmlAttributes;
|
||||
class nsHtml5UTF16Buffer;
|
||||
class nsHtml5StateSnapshot;
|
||||
class nsHtml5Portability;
|
||||
|
|
@ -114,14 +113,14 @@ class nsHtml5AttributeName
|
|||
int32_t* uri;
|
||||
nsIAtom** local;
|
||||
nsIAtom** prefix;
|
||||
protected:
|
||||
bool custom;
|
||||
nsHtml5AttributeName(int32_t* uri, nsIAtom** local, nsIAtom** prefix);
|
||||
private:
|
||||
static nsHtml5AttributeName* createAttributeName(nsIAtom* name);
|
||||
public:
|
||||
virtual void release();
|
||||
virtual ~nsHtml5AttributeName();
|
||||
virtual nsHtml5AttributeName* cloneAttributeName(nsHtml5AtomTable* interner);
|
||||
nsHtml5AttributeName();
|
||||
bool isInterned();
|
||||
void setNameForNonInterned(nsIAtom* name);
|
||||
static nsHtml5AttributeName* createAttributeName(nsIAtom* name);
|
||||
~nsHtml5AttributeName();
|
||||
int32_t getUri(int32_t mode);
|
||||
nsIAtom* getLocal(int32_t mode);
|
||||
nsIAtom* getPrefix(int32_t mode);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue