Use NS_INIT_ISUPPORTS instead of obsolete NS_INIT_REFCNT.

Fixing cocoa build bustage.


git-svn-id: svn://10.0.0.236/trunk@129554 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
seawood%netscape.com
2002-09-13 20:37:04 +00:00
parent 48727ebb97
commit d554f69e3b
3 changed files with 3 additions and 3 deletions

View File

@@ -59,7 +59,7 @@ NS_IMPL_THREADSAFE_ISUPPORTS1(nsAppShellCocoa, nsIAppShell)
//-------------------------------------------------------------------------
nsAppShellCocoa::nsAppShellCocoa()
{
NS_INIT_REFCNT();
NS_INIT_ISUPPORTS();
}
//-------------------------------------------------------------------------

View File

@@ -220,7 +220,7 @@ bool nsToolkit::sInForeground = true;
//-------------------------------------------------------------------------
nsToolkit::nsToolkit() : mInited(false)
{
NS_INIT_REFCNT();
NS_INIT_ISUPPORTS();
if ( !gEventQueueHandler )
gEventQueueHandler = [[[EventQueueHandler alloc] init] autorelease];

View File

@@ -84,7 +84,7 @@ protected:
nsSplashScreenCocoa::nsSplashScreenCocoa()
: mDialog(nsnull)
{
NS_INIT_REFCNT();
NS_INIT_ISUPPORTS();
}