зеркало из https://github.com/mozilla/gecko-dev.git
Inside an INCLUDE_XUL #ifdef, making sure that HTML atoms get addrefed and
released by the frame constructor.
This commit is contained in:
Родитель
88bfd97827
Коммит
7d48abba75
|
@ -204,6 +204,7 @@ nsCSSFrameConstructor::nsCSSFrameConstructor(void)
|
|||
NS_INIT_REFCNT();
|
||||
#ifdef INCLUDE_XUL
|
||||
nsXULAtoms::AddrefAtoms();
|
||||
nsHTMLAtoms::AddrefAtoms();
|
||||
#endif
|
||||
}
|
||||
|
||||
|
@ -211,6 +212,7 @@ nsCSSFrameConstructor::~nsCSSFrameConstructor(void)
|
|||
{
|
||||
#ifdef INCLUDE_XUL
|
||||
nsXULAtoms::ReleaseAtoms();
|
||||
nsHTMLAtoms::ReleaseAtoms();
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
|
@ -204,6 +204,7 @@ nsCSSFrameConstructor::nsCSSFrameConstructor(void)
|
|||
NS_INIT_REFCNT();
|
||||
#ifdef INCLUDE_XUL
|
||||
nsXULAtoms::AddrefAtoms();
|
||||
nsHTMLAtoms::AddrefAtoms();
|
||||
#endif
|
||||
}
|
||||
|
||||
|
@ -211,6 +212,7 @@ nsCSSFrameConstructor::~nsCSSFrameConstructor(void)
|
|||
{
|
||||
#ifdef INCLUDE_XUL
|
||||
nsXULAtoms::ReleaseAtoms();
|
||||
nsHTMLAtoms::ReleaseAtoms();
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче