diff options
Diffstat (limited to 'parser/html/nsHtml5AttributeName.h')
-rw-r--r-- | parser/html/nsHtml5AttributeName.h | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/parser/html/nsHtml5AttributeName.h b/parser/html/nsHtml5AttributeName.h index f71a5d87b5..8519f463f3 100644 --- a/parser/html/nsHtml5AttributeName.h +++ b/parser/html/nsHtml5AttributeName.h @@ -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); |