Moved atom init to factory where it should have been

git-svn-id: svn://10.0.0.236/trunk@45695 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
kipp%netscape.com
1999-09-02 18:02:21 +00:00
parent 3855e4c7a8
commit 5c567c30a3
2 changed files with 0 additions and 16 deletions

View File

@@ -445,18 +445,10 @@ nsCSSFrameConstructor::nsCSSFrameConstructor(void)
mGfxScrollFrame(nsnull)
{
NS_INIT_REFCNT();
#ifdef INCLUDE_XUL
nsXULAtoms::AddRefAtoms();
nsHTMLAtoms::AddRefAtoms();
#endif
}
nsCSSFrameConstructor::~nsCSSFrameConstructor(void)
{
#ifdef INCLUDE_XUL
nsXULAtoms::ReleaseAtoms();
nsHTMLAtoms::ReleaseAtoms();
#endif
}
NS_IMPL_ISUPPORTS(nsCSSFrameConstructor, kIStyleFrameConstructionIID);