mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-28 21:51:51 -10:00
nsHtml5Atoms are very similar to dynamic nsAtoms. This patch removes the former in favour of the latter, which leaves nsAtom as the only subclass of nsIAtom. nsAtom::mKind is still used to distinguish dynamic atoms from HTML5 atoms, and the HTML5 parser still uses manual memory management to handle its HTML5 atoms. nsHtml5AtomEntry::mAtom had to be changed from an nsAutoPtr to a raw pointer because nsAtom's destructor is private. MozReview-Commit-ID: 1pBzwkog3ut