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:
@@ -59,7 +59,7 @@ NS_IMPL_THREADSAFE_ISUPPORTS1(nsAppShellCocoa, nsIAppShell)
|
||||
//-------------------------------------------------------------------------
|
||||
nsAppShellCocoa::nsAppShellCocoa()
|
||||
{
|
||||
NS_INIT_REFCNT();
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
//-------------------------------------------------------------------------
|
||||
|
||||
@@ -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];
|
||||
|
||||
@@ -84,7 +84,7 @@ protected:
|
||||
nsSplashScreenCocoa::nsSplashScreenCocoa()
|
||||
: mDialog(nsnull)
|
||||
{
|
||||
NS_INIT_REFCNT();
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user