diff --git a/layout/base/nsCSSFrameConstructor.cpp b/layout/base/nsCSSFrameConstructor.cpp index 704aa1227e06..d35133b64f26 100644 --- a/layout/base/nsCSSFrameConstructor.cpp +++ b/layout/base/nsCSSFrameConstructor.cpp @@ -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 } diff --git a/layout/html/style/src/nsCSSFrameConstructor.cpp b/layout/html/style/src/nsCSSFrameConstructor.cpp index 704aa1227e06..d35133b64f26 100644 --- a/layout/html/style/src/nsCSSFrameConstructor.cpp +++ b/layout/html/style/src/nsCSSFrameConstructor.cpp @@ -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 }