Fixing nsBrowserWindow to not assert in thread safety check. Needed NS_INIT_REFCNT

This commit is contained in:
warren%netscape.com 2000-03-06 09:10:47 +00:00
parent d31f15d06a
commit 19d208da06

View File

@ -1001,6 +1001,7 @@ GetTitleSuffix(void)
// Note: operator new zeros our memory
nsBrowserWindow::nsBrowserWindow()
{
NS_INIT_REFCNT();
if (!gTitleSuffix) {
#if XXX
gTitleSuffix = GetTitleSuffix();