mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 07:42:04 +00:00
Setup html and xul atoms too
This commit is contained in:
parent
57543b73ec
commit
fb369c9dbe
@ -54,6 +54,11 @@
|
||||
#include "nsCSSAtoms.h" // to addref/release table
|
||||
#include "nsColorNames.h" // to addref/release table
|
||||
|
||||
#ifdef INCLUDE_XUL
|
||||
#include "nsXULAtoms.h"
|
||||
#endif
|
||||
#include "nsLayoutAtoms.h"
|
||||
|
||||
class nsIDocumentLoaderFactory;
|
||||
|
||||
static NS_DEFINE_CID(kComponentManagerCID, NS_COMPONENTMANAGER_CID);
|
||||
@ -137,6 +142,10 @@ nsLayoutFactory::nsLayoutFactory(const nsCID &aClass)
|
||||
nsCSSKeywords::AddRefTable();
|
||||
nsCSSProps::AddRefTable();
|
||||
nsColorNames::AddRefTable();
|
||||
nsHTMLAtoms::AddRefAtoms();
|
||||
#ifdef INCLUDE_XUL
|
||||
nsXULAtoms::AddRefAtoms();
|
||||
#endif
|
||||
}
|
||||
|
||||
nsLayoutFactory::~nsLayoutFactory()
|
||||
@ -146,6 +155,10 @@ nsLayoutFactory::~nsLayoutFactory()
|
||||
nsCSSProps::ReleaseTable();
|
||||
nsCSSKeywords::ReleaseTable();
|
||||
nsCSSAtoms::ReleaseAtoms();
|
||||
nsHTMLAtoms::ReleaseAtoms();
|
||||
#ifdef INCLUDE_XUL
|
||||
nsXULAtoms::ReleaseAtoms();
|
||||
#endif
|
||||
}
|
||||
|
||||
nsresult
|
||||
|
Loading…
Reference in New Issue
Block a user