mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-23 13:04:28 +00:00
Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. sr=jag
This commit is contained in:
parent
d8345512c5
commit
bc98f431d6
@ -87,7 +87,6 @@ private:
|
||||
nsCocoaBrowserListener::nsCocoaBrowserListener(NSBrowserView* aView)
|
||||
: mView(aView), mContainer(nsnull), mIsModal(PR_FALSE), mChromeFlags(0)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
mListeners = [[NSMutableArray alloc] init];
|
||||
}
|
||||
|
||||
|
@ -52,7 +52,6 @@ nsCocoaBrowserService* nsCocoaBrowserService::sSingleton = nsnull;
|
||||
// nsCocoaBrowserService implementation
|
||||
nsCocoaBrowserService::nsCocoaBrowserService()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsCocoaBrowserService::~nsCocoaBrowserService()
|
||||
|
@ -49,7 +49,6 @@ NS_IMPL_ISUPPORTS1(nsControllerCommandGroup, nsIControllerCommandGroup)
|
||||
|
||||
nsControllerCommandGroup::nsControllerCommandGroup()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsControllerCommandGroup::~nsControllerCommandGroup()
|
||||
|
@ -555,7 +555,6 @@ nsresult CopyPrinterCharPref(nsIPref *pref, const char *modulename, const char *
|
||||
// Printer Enumerator
|
||||
nsPrinterEnumeratorQT::nsPrinterEnumeratorQT()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
NS_IMPL_ISUPPORTS1(nsPrinterEnumeratorQT, nsIPrinterEnumerator)
|
||||
|
@ -60,7 +60,6 @@ NS_IMPL_THREADSAFE_ISUPPORTS1(nsAppShellCocoa, nsIAppShell)
|
||||
//-------------------------------------------------------------------------
|
||||
nsAppShellCocoa::nsAppShellCocoa()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
//-------------------------------------------------------------------------
|
||||
|
@ -59,7 +59,6 @@ nsFilePicker::nsFilePicker()
|
||||
, mMode(0)
|
||||
, mSelectedType(0)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
|
||||
|
@ -248,8 +248,6 @@ static const char* gQuartzRenderingPref = "browser.quartz.enable";
|
||||
nsToolkit::nsToolkit()
|
||||
: mInited(false)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
|
||||
if (!gEventQueueHandler)
|
||||
{
|
||||
// autorelease this so that if Init is never called, it is not
|
||||
|
@ -54,7 +54,6 @@
|
||||
nsGREDirServiceProvider::nsGREDirServiceProvider()
|
||||
: mPathEnvString(nsnull)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
AddGRELocationToPath();
|
||||
}
|
||||
|
||||
|
@ -84,7 +84,6 @@ protected:
|
||||
nsSplashScreenCocoa::nsSplashScreenCocoa()
|
||||
: mDialog(nsnull)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user