mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 08:12:05 +00:00
Fixing nsBrowserWindow to not assert in thread safety check. Needed NS_INIT_REFCNT
This commit is contained in:
parent
d31f15d06a
commit
19d208da06
@ -1001,6 +1001,7 @@ GetTitleSuffix(void)
|
||||
// Note: operator new zeros our memory
|
||||
nsBrowserWindow::nsBrowserWindow()
|
||||
{
|
||||
NS_INIT_REFCNT();
|
||||
if (!gTitleSuffix) {
|
||||
#if XXX
|
||||
gTitleSuffix = GetTitleSuffix();
|
||||
|
Loading…
Reference in New Issue
Block a user