mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-02 03:49:37 +00:00
Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
This commit is contained in:
parent
23a54bc780
commit
3ea0dc57d4
@ -410,7 +410,6 @@ NS_IMPL_ISUPPORTS1(nsIWin32LocaleImpl,nsIWin32Locale)
|
||||
|
||||
nsIWin32LocaleImpl::nsIWin32LocaleImpl(void)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsIWin32LocaleImpl::~nsIWin32LocaleImpl(void)
|
||||
|
@ -71,7 +71,6 @@ public:
|
||||
class name : public nsIBreakState { \
|
||||
NS_DECL_ISUPPORTS \
|
||||
name (const PRUnichar *aText, PRUint32 aLen) { \
|
||||
NS_INIT_ISUPPORTS(); \
|
||||
mText = aText; mLen = aLen; \
|
||||
mPos = 0; mPriv = 0; mDone = PR_FALSE; \
|
||||
} ; \
|
||||
|
@ -331,7 +331,6 @@ nsJISx4501LineBreaker::nsJISx4501LineBreaker(
|
||||
const PRUnichar* aNoEnd, PRInt32 aNoEndLen
|
||||
)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
nsJISx4501LineBreaker::~nsJISx4501LineBreaker()
|
||||
{
|
||||
|
@ -45,7 +45,6 @@
|
||||
#include "nsSampleWordBreaker.h"
|
||||
nsLWBreakerFImp::nsLWBreakerFImp()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
nsLWBreakerFImp::~nsLWBreakerFImp()
|
||||
{
|
||||
|
@ -43,7 +43,6 @@
|
||||
#include "nsLWBRKDll.h"
|
||||
nsSampleWordBreaker::nsSampleWordBreaker()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
nsSampleWordBreaker::~nsSampleWordBreaker()
|
||||
{
|
||||
|
@ -43,7 +43,6 @@ NS_IMPL_ISUPPORTS1(nsSemanticUnitScanner, nsISemanticUnitScanner)
|
||||
|
||||
nsSemanticUnitScanner::nsSemanticUnitScanner() : nsSampleWordBreaker()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
/* member initializers and constructor code */
|
||||
}
|
||||
|
||||
|
@ -56,7 +56,6 @@ NS_IMPL_ISUPPORTS1(nsAcceptLang, nsIAcceptLang)
|
||||
|
||||
nsAcceptLang::nsAcceptLang()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
/* member initializers and constructor code */
|
||||
}
|
||||
|
||||
|
@ -95,7 +95,6 @@ nsStringBundle::nsStringBundle(const char* aURLSpec,
|
||||
mAttemptedLoad(PR_FALSE),
|
||||
mLoaded(PR_FALSE)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsresult
|
||||
@ -375,8 +374,6 @@ NS_IMPL_ISUPPORTS1(nsExtensibleStringBundle, nsIStringBundle)
|
||||
|
||||
nsExtensibleStringBundle::nsExtensibleStringBundle()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
|
||||
mLoaded = PR_FALSE;
|
||||
}
|
||||
|
||||
@ -513,7 +510,6 @@ nsStringBundleService::nsStringBundleService() :
|
||||
#ifdef DEBUG_tao_
|
||||
printf("\n++ nsStringBundleService::nsStringBundleService ++\n");
|
||||
#endif
|
||||
NS_INIT_ISUPPORTS();
|
||||
|
||||
PR_INIT_CLIST(&mBundleCache);
|
||||
PL_InitArenaPool(&mCacheEntryPool, "srEntries",
|
||||
|
@ -55,7 +55,7 @@ public:
|
||||
URLPropertyElement(nsIPropertyElement *aRealElement, PRUint32 aURLLength) :
|
||||
mRealElement(aRealElement),
|
||||
mURLLength(aURLLength)
|
||||
{ NS_INIT_ISUPPORTS(); }
|
||||
{ }
|
||||
virtual ~URLPropertyElement() {}
|
||||
|
||||
NS_DECL_ISUPPORTS
|
||||
@ -123,7 +123,6 @@ public:
|
||||
mURL.ReplaceSubstring(":", "%3A");
|
||||
// there is always a # between the url and the real key
|
||||
mURL.Append('#');
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
NS_DECL_ISUPPORTS
|
||||
|
@ -58,7 +58,7 @@
|
||||
class nsStringBundleTextOverride : public nsIStringBundleOverride
|
||||
{
|
||||
public:
|
||||
nsStringBundleTextOverride() { NS_INIT_ISUPPORTS(); }
|
||||
nsStringBundleTextOverride() { }
|
||||
virtual ~nsStringBundleTextOverride() {}
|
||||
|
||||
nsresult Init();
|
||||
|
@ -56,7 +56,6 @@ NS_IMPL_ISUPPORTS1(nsCharsetAlias2, nsICharsetAlias);
|
||||
//--------------------------------------------------------------
|
||||
nsCharsetAlias2::nsCharsetAlias2()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
mDelegate = nsnull; // delay the load of mDelegate untill we need it.
|
||||
}
|
||||
//--------------------------------------------------------------
|
||||
|
@ -78,7 +78,6 @@ NS_IMPL_THREADSAFE_ISUPPORTS2(nsCharsetConverterManager,
|
||||
nsCharsetConverterManager::nsCharsetConverterManager()
|
||||
:mDataBundle(NULL), mTitleBundle(NULL)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsCharsetConverterManager::~nsCharsetConverterManager()
|
||||
|
@ -70,7 +70,7 @@ class nsConverterInputStream : nsIConverterInputStream {
|
||||
mLeftOverBytes(0),
|
||||
mUnicharDataOffset(0),
|
||||
mUnicharDataLength(0),
|
||||
mRecoverFromErrors(PR_FALSE) { NS_INIT_ISUPPORTS(); }
|
||||
mRecoverFromErrors(PR_FALSE) { }
|
||||
|
||||
virtual ~nsConverterInputStream() {}
|
||||
|
||||
|
@ -56,7 +56,6 @@ NS_IMPL_ISUPPORTS1(nsPlatformCharset, nsIPlatformCharset);
|
||||
|
||||
nsPlatformCharset::nsPlatformCharset()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
PR_AtomicIncrement(&gCnt);
|
||||
}
|
||||
nsPlatformCharset::~nsPlatformCharset()
|
||||
|
@ -41,7 +41,6 @@ NS_IMPL_ISUPPORTS1(nsPlatformCharset, nsIPlatformCharset);
|
||||
|
||||
nsPlatformCharset::nsPlatformCharset()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
PR_AtomicIncrement(&gCnt); // count for gInfo
|
||||
|
||||
// XXX We should make the following block critical section
|
||||
|
@ -60,7 +60,6 @@ NS_IMPL_ISUPPORTS1(nsScriptableUnicodeConverter, nsIScriptableUnicodeConverter)
|
||||
|
||||
nsScriptableUnicodeConverter::nsScriptableUnicodeConverter()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
PR_AtomicIncrement(&gInstanceCount);
|
||||
}
|
||||
|
||||
|
@ -54,7 +54,6 @@ static NS_DEFINE_CID(kCharsetConverterManagerCID, NS_ICHARSETCONVERTERMANAGER_CI
|
||||
|
||||
nsTextToSubURI::nsTextToSubURI()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
nsTextToSubURI::~nsTextToSubURI()
|
||||
{
|
||||
|
@ -82,7 +82,6 @@ static PRStatus InitLock(void)
|
||||
|
||||
nsPlatformCharset::nsPlatformCharset()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
PR_AtomicIncrement(&gCnt);
|
||||
static PRCallOnceType once;
|
||||
PR_CallOnce(&once, InitLock);
|
||||
|
@ -52,7 +52,6 @@ NS_IMPL_ISUPPORTS1(nsUnicodeDecodeHelper, nsIUnicodeDecodeHelper)
|
||||
|
||||
nsUnicodeDecodeHelper::nsUnicodeDecodeHelper()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsUnicodeDecodeHelper::~nsUnicodeDecodeHelper()
|
||||
|
@ -52,7 +52,6 @@ NS_IMPL_ISUPPORTS1(nsUnicodeEncodeHelper, nsIUnicodeEncodeHelper)
|
||||
|
||||
nsUnicodeEncodeHelper::nsUnicodeEncodeHelper()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsUnicodeEncodeHelper::~nsUnicodeEncodeHelper()
|
||||
|
@ -67,7 +67,7 @@ public:
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
nsUnicodeToUTF8() {NS_INIT_ISUPPORTS(); mHighSurrogate = 0;};
|
||||
nsUnicodeToUTF8() {mHighSurrogate = 0;};
|
||||
|
||||
NS_IMETHOD FillInfo(PRUint32* aInfo);
|
||||
|
||||
|
@ -57,7 +57,6 @@ NS_IMPL_ISUPPORTS1(nsPlatformCharset, nsIPlatformCharset)
|
||||
nsPlatformCharset::nsPlatformCharset()
|
||||
{
|
||||
NS_TIMELINE_START_TIMER("nsPlatformCharset()");
|
||||
NS_INIT_ISUPPORTS();
|
||||
|
||||
UINT acp = ::GetACP();
|
||||
PRInt32 acpint = (PRInt32)(acp & 0x00FFFF);
|
||||
|
@ -56,7 +56,7 @@ class nsISO2022CNToUnicode : public nsBasicDecoderSupport
|
||||
public:
|
||||
nsISO2022CNToUnicode() :
|
||||
mState(eState_ASCII),
|
||||
mPlaneID(0) { NS_INIT_ISUPPORTS(); };
|
||||
mPlaneID(0) { };
|
||||
|
||||
virtual ~nsISO2022CNToUnicode() {};
|
||||
|
||||
|
@ -150,7 +150,6 @@ nsUnicodeToX11Johab::nsUnicodeToX11Johab()
|
||||
l = 0x5f;
|
||||
v = 0;
|
||||
t = 0;
|
||||
NS_INIT_ISUPPORTS();
|
||||
|
||||
}
|
||||
nsUnicodeToX11Johab::~nsUnicodeToX11Johab()
|
||||
|
@ -54,7 +54,6 @@ static NS_DEFINE_CID(kUnicodeDecodeHelperCID, NS_UNICODEDECODEHELPER_CID);
|
||||
|
||||
nsBasicDecoderSupport::nsBasicDecoderSupport()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsBasicDecoderSupport::~nsBasicDecoderSupport()
|
||||
@ -358,7 +357,6 @@ NS_IMETHODIMP nsOneByteDecoderSupport::Reset()
|
||||
// Class nsBasicEncoder [implementation]
|
||||
nsBasicEncoder::nsBasicEncoder()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsBasicEncoder::~nsBasicEncoder()
|
||||
|
@ -470,7 +470,6 @@ nsCaseConversionImp2::nsCaseConversionImp2()
|
||||
gUpperMap = new nsCompressedMap(NS_REINTERPRET_CAST(PRUnichar*, &gToUpper[0]), gToUpperItems);
|
||||
gLowerMap = new nsCompressedMap(NS_REINTERPRET_CAST(PRUnichar*, &gToLower[0]), gToLowerItems);
|
||||
}
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsCaseConversionImp2::~nsCaseConversionImp2()
|
||||
|
@ -48,7 +48,6 @@ NS_IMPL_ISUPPORTS1(nsCategoryImp, nsIUGenCategory);
|
||||
|
||||
nsCategoryImp::nsCategoryImp()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsCategoryImp::~nsCategoryImp()
|
||||
|
@ -43,7 +43,6 @@
|
||||
|
||||
nsCharsOrderIdFormater::nsCharsOrderIdFormater( nsCharsList* aList)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
mList = aList;
|
||||
mBase = aList->Length();
|
||||
}
|
||||
@ -75,7 +74,6 @@ class nsCharsOrderIdFormaterFactory : public nsIFactory {
|
||||
NS_DECL_ISUPPORTS
|
||||
public:
|
||||
nsCharsOrderIdFormaterFactory(const nsCID &aCID) {
|
||||
NS_INIT_ISUPPORTS();
|
||||
mCID = aCID;
|
||||
};
|
||||
virtual ~nsCharsOrderIdFormaterFactory() {
|
||||
|
@ -53,7 +53,6 @@ nsEntityConverter::nsEntityConverter()
|
||||
: mVersionList(NULL),
|
||||
mVersionListLength(0)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsEntityConverter::~nsEntityConverter()
|
||||
|
@ -145,7 +145,6 @@ NS_IMPL_ISUPPORTS1(nsHankakuToZenkaku, nsITextTransform)
|
||||
|
||||
nsHankakuToZenkaku::nsHankakuToZenkaku()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
nsHankakuToZenkaku::~nsHankakuToZenkaku()
|
||||
{
|
||||
|
@ -58,8 +58,6 @@ NS_IMPL_ISUPPORTS1(nsSaveAsCharset, nsISaveAsCharset)
|
||||
//
|
||||
nsSaveAsCharset::nsSaveAsCharset()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
|
||||
mAttribute = attr_htmlTextDefault;
|
||||
mEntityVersion = 0;
|
||||
mCharsetListIndex = -1;
|
||||
|
@ -53,7 +53,7 @@ static nsICaseConversion *gCaseConv = nsnull;
|
||||
class nsShutdownObserver : public nsIObserver
|
||||
{
|
||||
public:
|
||||
nsShutdownObserver() { NS_INIT_ISUPPORTS(); }
|
||||
nsShutdownObserver() { }
|
||||
virtual ~nsShutdownObserver() {}
|
||||
NS_DECL_ISUPPORTS
|
||||
|
||||
|
@ -860,7 +860,6 @@ jsdProperty::jsdProperty (JSDContext *aCx, JSDProperty *aProperty) :
|
||||
{
|
||||
DEBUG_CREATE ("jsdProperty", gPropertyCount);
|
||||
mValid = (aCx && aProperty);
|
||||
NS_INIT_ISUPPORTS();
|
||||
mLiveListEntry.value = this;
|
||||
jsds_InsertEphemeral (&gLiveProperties, &mLiveListEntry);
|
||||
}
|
||||
@ -966,7 +965,6 @@ jsdScript::jsdScript (JSDContext *aCx, JSDScript *aScript) : mValid(PR_FALSE),
|
||||
mFirstPC(0)
|
||||
{
|
||||
DEBUG_CREATE ("jsdScript", gScriptCount);
|
||||
NS_INIT_ISUPPORTS();
|
||||
|
||||
if (mScript) {
|
||||
/* copy the script's information now, so we have it later, when it
|
||||
@ -1457,7 +1455,6 @@ jsdContext::jsdContext (JSDContext *aJSDCx, JSContext *aJSCx,
|
||||
mJSCx(aJSCx), mISCx(aISCx)
|
||||
{
|
||||
DEBUG_CREATE ("jsdContext", gContextCount);
|
||||
NS_INIT_ISUPPORTS();
|
||||
mLiveListEntry.value = this;
|
||||
mLiveListEntry.key = NS_STATIC_CAST (void *, aJSCx);
|
||||
jsds_InsertEphemeral (&gLiveContexts, &mLiveListEntry);
|
||||
@ -1627,7 +1624,6 @@ jsdStackFrame::jsdStackFrame (JSDContext *aCx, JSDThreadState *aThreadState,
|
||||
{
|
||||
DEBUG_CREATE ("jsdStackFrame", gFrameCount);
|
||||
mValid = (aCx && aThreadState && aStackFrameInfo);
|
||||
NS_INIT_ISUPPORTS();
|
||||
if (mValid) {
|
||||
mLiveListEntry.key = aStackFrameInfo;
|
||||
mLiveListEntry.value = this;
|
||||
@ -1917,7 +1913,6 @@ jsdValue::jsdValue (JSDContext *aCx, JSDValue *aValue) : mValid(PR_TRUE),
|
||||
mValue(aValue)
|
||||
{
|
||||
DEBUG_CREATE ("jsdValue", gValueCount);
|
||||
NS_INIT_ISUPPORTS();
|
||||
mLiveListEntry.value = this;
|
||||
jsds_InsertEphemeral (&gLiveValues, &mLiveListEntry);
|
||||
}
|
||||
@ -3210,7 +3205,6 @@ class jsdASObserver : public nsIObserver
|
||||
|
||||
jsdASObserver ()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -71,7 +71,6 @@ class jsdObject : public jsdIObject
|
||||
jsdObject (JSDContext *aCx, JSDObject *aObject) :
|
||||
mCx(aCx), mObject(aObject)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
static jsdIObject *FromPtr (JSDContext *aCx,
|
||||
@ -280,7 +279,6 @@ class jsdService : public jsdIDebuggerService
|
||||
mInterruptHook(0), mScriptHook(0), mThrowHook(0),
|
||||
mTopLevelHook(0), mFunctionHook(0)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
virtual ~jsdService();
|
||||
@ -329,7 +327,6 @@ class jsdContext : public jsdIContext
|
||||
/* you'll normally use use FromPtr() instead of directly constructing one */
|
||||
jsdContext (JSDContext *aCx) : mCx(aCx)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
printf ("++++++ jsdContext\n");
|
||||
}
|
||||
|
||||
@ -371,7 +368,6 @@ class jsdThreadState : public jsdIThreadState
|
||||
jsdThreadState (JSDContext *aCx, JSDThreadState *aThreadState) :
|
||||
mCx(aCx), mThreadState(aThreadState)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
/* XXX These things are only valid for a short period of time, they reflect
|
||||
|
@ -151,7 +151,6 @@ nsCLiveconnectFactory::LockFactory(PRBool aLock)
|
||||
|
||||
nsCLiveconnectFactory::nsCLiveconnectFactory(void)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsCLiveconnectFactory::~nsCLiveconnectFactory()
|
||||
|
@ -317,7 +317,6 @@ public:
|
||||
BackstagePass(nsIPrincipal *prin) :
|
||||
mPrincipal(prin)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
virtual ~BackstagePass() { }
|
||||
@ -338,7 +337,6 @@ public:
|
||||
|
||||
BackstagePass()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
virtual ~BackstagePass() { }
|
||||
@ -384,7 +382,6 @@ mozJSComponentLoader::mozJSComponentLoader()
|
||||
mGlobals(nsnull),
|
||||
mInitialized(PR_FALSE)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
static PRIntn PR_CALLBACK
|
||||
|
@ -121,7 +121,6 @@ ExceptionalErrorReporter (JSContext *cx, const char *message,
|
||||
|
||||
mozJSSubScriptLoader::mozJSSubScriptLoader() : mSystemPrincipal(nsnull)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
mozJSSubScriptLoader::~mozJSSubScriptLoader()
|
||||
|
@ -103,7 +103,6 @@ NS_IMPL_ISUPPORTS1(nsXPCSample_ClassA, nsIXPCSample_ClassA)
|
||||
nsXPCSample_ClassA::nsXPCSample_ClassA(PRInt32 aValue)
|
||||
: mValue(aValue)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsXPCSample_ClassA::~nsXPCSample_ClassA()
|
||||
@ -142,7 +141,6 @@ NS_IMPL_ISUPPORTS1(nsXPCSample_ClassB, nsIXPCSample_ClassB)
|
||||
nsXPCSample_ClassB::nsXPCSample_ClassB(PRInt32 aValue)
|
||||
: mValue(aValue)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsXPCSample_ClassB::~nsXPCSample_ClassB()
|
||||
@ -181,7 +179,6 @@ NS_IMPL_ISUPPORTS1(nsXPCSample_ClassC, nsIXPCSample_ClassC)
|
||||
nsXPCSample_ClassC::nsXPCSample_ClassC(PRInt32 aValue)
|
||||
: mValue(aValue)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsXPCSample_ClassC::~nsXPCSample_ClassC()
|
||||
@ -219,7 +216,6 @@ NS_IMPL_ISUPPORTS1(nsXPCSample_HookerUpper, nsIXPCSample_HookerUpper)
|
||||
|
||||
nsXPCSample_HookerUpper::nsXPCSample_HookerUpper()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsXPCSample_HookerUpper::~nsXPCSample_HookerUpper()
|
||||
|
@ -670,7 +670,6 @@ NS_IMPL_ISUPPORTS1(FullTrustSecMan, nsIXPCSecurityManager);
|
||||
|
||||
FullTrustSecMan::FullTrustSecMan()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
@ -741,7 +740,7 @@ public:
|
||||
NS_DECL_NSIXPCTESTNOISY
|
||||
NS_DECL_NSIXPCSCRIPTABLE
|
||||
|
||||
TestGlobal(){NS_INIT_ISUPPORTS();}
|
||||
TestGlobal(){}
|
||||
|
||||
};
|
||||
|
||||
@ -782,7 +781,6 @@ NS_IMPL_ISUPPORTS1(nsXPCFunctionThisTranslator, nsIXPCFunctionThisTranslator)
|
||||
|
||||
nsXPCFunctionThisTranslator::nsXPCFunctionThisTranslator()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
/* member initializers and constructor code */
|
||||
}
|
||||
|
||||
|
@ -145,7 +145,6 @@ NS_IMPL_THREADSAFE_ISUPPORTS1(nsDispatchSupport, nsIDispatchSupport)
|
||||
|
||||
nsDispatchSupport::nsDispatchSupport()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
/* member initializers and constructor code */
|
||||
}
|
||||
|
||||
|
@ -55,7 +55,6 @@ nsScriptError::nsScriptError()
|
||||
mFlags(0),
|
||||
mCategory(nsnull)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsScriptError::~nsScriptError() {};
|
||||
|
@ -62,8 +62,6 @@ nsXPConnect::nsXPConnect()
|
||||
mDefaultSecurityManagerFlags(0),
|
||||
mShuttingDown(JS_FALSE)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
|
||||
// Ignore the result. If the runtime service is not ready to rumble
|
||||
// then we'll set this up later as needed.
|
||||
CreateRuntime();
|
||||
|
@ -54,8 +54,6 @@ XPCCallContext::XPCCallContext(XPCContext::LangType callerLanguage,
|
||||
mDestroyJSContextInDestructor(JS_FALSE),
|
||||
mCallerLanguage(callerLanguage)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
|
||||
if(!mXPC)
|
||||
return;
|
||||
|
||||
|
@ -93,7 +93,6 @@ char * xpc_CheckAccessList(const PRUnichar* wideName, const char* list[])
|
||||
|
||||
nsXPCComponents_Interfaces::nsXPCComponents_Interfaces()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
mManager = dont_AddRef(XPTI_GetInterfaceInfoManager());
|
||||
}
|
||||
|
||||
@ -327,7 +326,6 @@ public:
|
||||
|
||||
nsXPCComponents_Classes::nsXPCComponents_Classes()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsXPCComponents_Classes::~nsXPCComponents_Classes()
|
||||
@ -485,7 +483,6 @@ public:
|
||||
|
||||
nsXPCComponents_ClassesByID::nsXPCComponents_ClassesByID()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsXPCComponents_ClassesByID::~nsXPCComponents_ClassesByID()
|
||||
@ -662,7 +659,6 @@ public:
|
||||
|
||||
nsXPCComponents_Results::nsXPCComponents_Results()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsXPCComponents_Results::~nsXPCComponents_Results()
|
||||
@ -797,7 +793,6 @@ private:
|
||||
|
||||
nsXPCComponents_ID::nsXPCComponents_ID()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsXPCComponents_ID::~nsXPCComponents_ID()
|
||||
@ -927,7 +922,6 @@ private:
|
||||
|
||||
nsXPCComponents_Exception::nsXPCComponents_Exception()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsXPCComponents_Exception::~nsXPCComponents_Exception()
|
||||
@ -1125,7 +1119,6 @@ nsXPCConstructor::nsXPCConstructor(nsIJSCID* aClassID,
|
||||
nsIJSIID* aInterfaceID,
|
||||
const char* aInitializer)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
NS_IF_ADDREF(mClassID = aClassID);
|
||||
NS_IF_ADDREF(mInterfaceID = aInterfaceID);
|
||||
mInitializer = aInitializer ?
|
||||
@ -1291,7 +1284,6 @@ private:
|
||||
|
||||
nsXPCComponents_Constructor::nsXPCComponents_Constructor()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsXPCComponents_Constructor::~nsXPCComponents_Constructor()
|
||||
@ -1548,7 +1540,6 @@ nsXPCComponents::nsXPCComponents()
|
||||
mException(nsnull),
|
||||
mConstructor(nsnull)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsXPCComponents::~nsXPCComponents()
|
||||
|
@ -139,7 +139,6 @@ nsXPCException::nsXPCException()
|
||||
mInner(nsnull),
|
||||
mInitialized(PR_FALSE)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
MOZ_COUNT_CTOR(nsXPCException);
|
||||
}
|
||||
|
||||
|
@ -48,7 +48,6 @@ char nsJSID::gNoString[] = "";
|
||||
nsJSID::nsJSID()
|
||||
: mID(GetInvalidIID()), mNumber(gNoString), mName(gNoString)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
};
|
||||
|
||||
nsJSID::~nsJSID()
|
||||
@ -253,7 +252,7 @@ class SharedScriptableHelperForJSIID : public nsIXPCScriptable
|
||||
public:
|
||||
NS_DECL_ISUPPORTS
|
||||
NS_DECL_NSIXPCSCRIPTABLE
|
||||
SharedScriptableHelperForJSIID() {NS_INIT_ISUPPORTS();}
|
||||
SharedScriptableHelperForJSIID() {}
|
||||
};
|
||||
|
||||
NS_INTERFACE_MAP_BEGIN(SharedScriptableHelperForJSIID)
|
||||
@ -396,7 +395,6 @@ NS_IMPL_CI_INTERFACE_GETTER2(nsJSIID, nsIJSID, nsIJSIID)
|
||||
nsJSIID::nsJSIID(nsIInterfaceInfo* aInfo)
|
||||
: mInfo(aInfo)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsJSIID::~nsJSIID() {}
|
||||
@ -654,7 +652,7 @@ NS_IMPL_CI_INTERFACE_GETTER2(nsJSCID, nsIJSID, nsIJSCID)
|
||||
#define XPC_MAP_FLAGS 0
|
||||
#include "xpc_map_end.h" /* This will #undef the above */
|
||||
|
||||
nsJSCID::nsJSCID() {NS_INIT_ISUPPORTS();}
|
||||
nsJSCID::nsJSCID() {}
|
||||
nsJSCID::~nsJSCID() {}
|
||||
|
||||
NS_IMETHODIMP nsJSCID::GetName(char * *aName)
|
||||
|
@ -47,7 +47,6 @@
|
||||
nsJSRuntimeServiceImpl::nsJSRuntimeServiceImpl() :
|
||||
mRuntime(0)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsJSRuntimeServiceImpl::~nsJSRuntimeServiceImpl() {
|
||||
|
@ -110,7 +110,6 @@ XPCJSStackFrame::XPCJSStackFrame()
|
||||
mLineno(0),
|
||||
mLanguage(nsIProgrammingLanguage::UNKNOWN)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
XPCJSStackFrame::~XPCJSStackFrame()
|
||||
|
@ -208,7 +208,6 @@ static nsXPCThreadJSContextStackImpl* gXPCThreadJSContextStack = nsnull;
|
||||
|
||||
nsXPCThreadJSContextStackImpl::nsXPCThreadJSContextStackImpl()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsXPCThreadJSContextStackImpl::~nsXPCThreadJSContextStackImpl()
|
||||
|
@ -42,7 +42,6 @@ NS_IMPL_ISUPPORTS2_CI(XPCVariant, XPCVariant, nsIVariant)
|
||||
XPCVariant::XPCVariant()
|
||||
: mJSVal(JSVAL_VOID)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
nsVariant::Initialize(&mData);
|
||||
}
|
||||
|
||||
|
@ -312,7 +312,6 @@ nsXPCWrappedJS::nsXPCWrappedJS(XPCCallContext& ccx,
|
||||
printf("//////// %d instances of nsXPCWrappedJS created\n", count);
|
||||
#endif
|
||||
|
||||
NS_INIT_ISUPPORTS();
|
||||
// intensionally do double addref - see Release().
|
||||
NS_ADDREF_THIS();
|
||||
NS_ADDREF_THIS();
|
||||
|
@ -160,7 +160,6 @@ nsXPCWrappedJSClass::nsXPCWrappedJSClass(XPCCallContext& ccx, REFNSIID aIID,
|
||||
mDescriptors(nsnull)
|
||||
{
|
||||
NS_ADDREF(mInfo);
|
||||
NS_INIT_ISUPPORTS();
|
||||
NS_ADDREF_THIS();
|
||||
|
||||
{ // scoped lock
|
||||
@ -393,7 +392,6 @@ xpcProperty::xpcProperty(const PRUnichar* aName, PRUint32 aNameLen,
|
||||
nsIVariant* aValue)
|
||||
: mName(aName, aNameLen), mValue(aValue)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
/* readonly attribute AString name; */
|
||||
@ -417,7 +415,6 @@ NS_IMPL_ISUPPORTS1(xpcPropertyBagEnumerator, nsISimpleEnumerator)
|
||||
xpcPropertyBagEnumerator::xpcPropertyBagEnumerator(PRUint32 count)
|
||||
: mIndex(0), mCount(0)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
mArray.SizeTo(count);
|
||||
}
|
||||
|
||||
|
@ -491,7 +491,6 @@ XPCWrappedNative::XPCWrappedNative(nsISupports* aIdentity,
|
||||
mFlatJSObject((JSObject*)JSVAL_ONE), // non-null to pass IsValid() test
|
||||
mScriptableInfo(nsnull)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
NS_ADDREF(mIdentity);
|
||||
|
||||
NS_ASSERTION(mMaybeProto, "bad ctor param");
|
||||
@ -511,7 +510,6 @@ XPCWrappedNative::XPCWrappedNative(nsISupports* aIdentity,
|
||||
mFlatJSObject((JSObject*)JSVAL_ONE), // non-null to pass IsValid() test
|
||||
mScriptableInfo(nsnull)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
NS_ADDREF(mIdentity);
|
||||
|
||||
NS_ASSERTION(aScope, "bad ctor param");
|
||||
@ -2985,7 +2983,6 @@ XPCJSObjectHolder::GetJSObject(JSObject** aJSObj)
|
||||
XPCJSObjectHolder::XPCJSObjectHolder(JSContext* cx, JSObject* obj)
|
||||
: mRuntime(JS_GetRuntime(cx)), mJSObj(obj)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
JS_AddNamedRoot(cx, &mJSObj, "XPCJSObjectHolder::mJSObj");
|
||||
}
|
||||
|
||||
|
@ -180,7 +180,6 @@ NS_IMPL_ISUPPORTS2(nsTestXPCFoo, nsITestXPCFoo, nsITestXPCFoo2)
|
||||
nsTestXPCFoo::nsTestXPCFoo()
|
||||
: mFoo(NULL)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
NS_ADDREF_THIS();
|
||||
}
|
||||
|
||||
@ -216,7 +215,6 @@ NS_IMPL_ISUPPORTS1(MySecMan, nsIXPCSecurityManager)
|
||||
MySecMan::MySecMan()
|
||||
: mMode(OK_ALL)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
NS_ADDREF_THIS();
|
||||
}
|
||||
|
||||
|
@ -52,7 +52,6 @@ private:
|
||||
xpcarraytest::xpcarraytest()
|
||||
: mReceiver(NULL)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
NS_ADDREF_THIS();
|
||||
}
|
||||
|
||||
|
@ -59,7 +59,6 @@ class xpcTestObjectReadOnly : public nsIXPCTestObjectReadOnly {
|
||||
NS_IMPL_ISUPPORTS1(xpcTestObjectReadOnly, nsIXPCTestObjectReadOnly);
|
||||
|
||||
xpcTestObjectReadOnly :: xpcTestObjectReadOnly() {
|
||||
NS_INIT_ISUPPORTS();
|
||||
NS_ADDREF_THIS();
|
||||
|
||||
boolProperty = PR_TRUE;
|
||||
@ -158,7 +157,6 @@ class xpcTestObjectReadWrite : public nsIXPCTestObjectReadWrite {
|
||||
NS_IMPL_ISUPPORTS1(xpcTestObjectReadWrite, nsIXPCTestObjectReadWrite);
|
||||
|
||||
xpcTestObjectReadWrite :: xpcTestObjectReadWrite() {
|
||||
NS_INIT_ISUPPORTS();
|
||||
NS_ADDREF_THIS();
|
||||
|
||||
|
||||
|
@ -60,7 +60,6 @@ NS_IMPL_ISUPPORTS2_CI(xpcTestCallJS, nsIXPCTestCallJS, nsIXPCScriptable);
|
||||
#include "xpc_map_end.h" /* This will #undef the above */
|
||||
|
||||
xpcTestCallJS :: xpcTestCallJS() {
|
||||
NS_INIT_ISUPPORTS();
|
||||
NS_ADDREF_THIS();
|
||||
};
|
||||
|
||||
|
@ -66,7 +66,6 @@ NS_IMPL_ISUPPORTS1(xpctestOther, nsIXPCTestOther);
|
||||
|
||||
xpctestOther::xpctestOther()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
NS_ADDREF_THIS();
|
||||
}
|
||||
|
||||
@ -171,7 +170,6 @@ xpctestChild::QueryInterface(REFNSIID iid, void** result)
|
||||
|
||||
xpctestChild::xpctestChild()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
NS_ADDREF_THIS();
|
||||
}
|
||||
|
||||
|
@ -47,7 +47,6 @@ public:
|
||||
NS_IMPL_ISUPPORTS1(xpcTestConst, nsIXPCTestConst);
|
||||
|
||||
xpcTestConst :: xpcTestConst() {
|
||||
NS_INIT_ISUPPORTS();
|
||||
NS_ADDREF_THIS();
|
||||
};
|
||||
|
||||
|
@ -53,7 +53,6 @@ NS_IMPL_ISUPPORTS1(xpcTestDOMString, nsIXPCTestDOMString);
|
||||
xpcTestDOMString::xpcTestDOMString()
|
||||
: mHandle(0)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
NS_ADDREF_THIS();
|
||||
}
|
||||
|
||||
|
@ -73,7 +73,6 @@ NS_IMPL_ISUPPORTS1(xpctestEcho, nsIEcho);
|
||||
xpctestEcho::xpctestEcho()
|
||||
: mReceiver(nsnull), mString(nsnull), mSomeValue(0)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
NS_ADDREF_THIS();
|
||||
}
|
||||
|
||||
|
@ -52,7 +52,6 @@ public:
|
||||
NS_IMPL_ISUPPORTS1(xpcTestIn, nsIXPCTestIn);
|
||||
|
||||
xpcTestIn :: xpcTestIn() {
|
||||
NS_INIT_ISUPPORTS();
|
||||
NS_ADDREF_THIS();
|
||||
};
|
||||
|
||||
|
@ -48,7 +48,6 @@ public:
|
||||
NS_IMPL_ISUPPORTS1(xpcTestInOut, nsIXPCTestInOut);
|
||||
|
||||
xpcTestInOut :: xpcTestInOut() {
|
||||
NS_INIT_ISUPPORTS();
|
||||
NS_ADDREF_THIS();
|
||||
};
|
||||
|
||||
|
@ -50,7 +50,6 @@ NS_IMPL_ISUPPORTS1(xpcTestParentOne, nsIXPCTestParentOne);
|
||||
|
||||
xpcTestParentOne :: xpcTestParentOne()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
NS_ADDREF_THIS();
|
||||
};
|
||||
|
||||
@ -114,7 +113,6 @@ NS_IMPL_ISUPPORTS1(xpcTestParentTwo, nsIXPCTestParentTwo);
|
||||
|
||||
xpcTestParentTwo :: xpcTestParentTwo()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
NS_ADDREF_THIS();
|
||||
};
|
||||
|
||||
@ -185,7 +183,6 @@ NS_IMPL_ISUPPORTS3_CI(xpcTestChild2,nsIXPCTestChild2,nsIXPCTestParentOne,nsIXPCT
|
||||
|
||||
xpcTestChild2 :: xpcTestChild2()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
NS_ADDREF_THIS();
|
||||
};
|
||||
|
||||
@ -307,7 +304,6 @@ NS_IMPL_ISUPPORTS2(xpcTestChild3,nsIXPCTestChild3,nsIXPCTestParentOne);
|
||||
|
||||
xpcTestChild3 :: xpcTestChild3()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
NS_ADDREF_THIS();
|
||||
|
||||
};
|
||||
@ -405,7 +401,6 @@ NS_IMPL_ISUPPORTS3(xpcTestChild4,nsIXPCTestChild4,nsIXPCTestParentOne,nsIXPCTest
|
||||
|
||||
xpcTestChild4 :: xpcTestChild4()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
NS_ADDREF_THIS();
|
||||
};
|
||||
|
||||
@ -476,7 +471,6 @@ NS_IMPL_ISUPPORTS3(xpcTestChild5,nsIXPCTestChild5,nsIXPCTestParentOne,nsIXPCTest
|
||||
|
||||
xpcTestChild5 :: xpcTestChild5()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
NS_ADDREF_THIS();
|
||||
};
|
||||
|
||||
|
@ -102,7 +102,6 @@ xpctestNoisy::xpctestNoisy()
|
||||
: mID(++sID)
|
||||
{
|
||||
sCount++;
|
||||
NS_INIT_ISUPPORTS();
|
||||
printf("Noisy %d - Created, %d total\n", mID, sCount);
|
||||
NS_ADDREF_THIS();
|
||||
}
|
||||
|
@ -76,7 +76,6 @@ private:
|
||||
NS_IMPL_ISUPPORTS1(xpcTestOut, nsIXPCTestOut);
|
||||
|
||||
xpcTestOut :: xpcTestOut() {
|
||||
NS_INIT_ISUPPORTS();
|
||||
NS_ADDREF_THIS();
|
||||
};
|
||||
|
||||
|
@ -102,7 +102,6 @@ public:
|
||||
|
||||
xpcoverloaded::xpcoverloaded()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
NS_ADDREF_THIS();
|
||||
}
|
||||
|
||||
|
@ -49,7 +49,6 @@ public:
|
||||
|
||||
xpcstringtest::xpcstringtest()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
NS_ADDREF_THIS();
|
||||
}
|
||||
|
||||
|
@ -51,7 +51,6 @@ NS_IMPL_ISUPPORTS1(nsTestVariant, nsITestVariant)
|
||||
|
||||
nsTestVariant::nsTestVariant()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsTestVariant::~nsTestVariant()
|
||||
|
@ -42,7 +42,6 @@ NS_IMPL_ISUPPORTS1(nsXPCToolsCompiler, nsIXPCToolsCompiler)
|
||||
|
||||
nsXPCToolsCompiler::nsXPCToolsCompiler()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsXPCToolsCompiler::~nsXPCToolsCompiler()
|
||||
|
@ -140,7 +140,6 @@ nsXPCToolsProfiler::nsXPCToolsProfiler()
|
||||
mFileTable(new nsHashtable(128, PR_FALSE)),
|
||||
mScriptTable(new nsHashtable(256, PR_FALSE))
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
InitializeRuntime();
|
||||
}
|
||||
|
||||
|
@ -83,7 +83,6 @@ NS_NewAutoCopyService(nsIAutoCopyService** aResult)
|
||||
|
||||
nsAutoCopyService::nsAutoCopyService()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
|
@ -96,7 +96,6 @@ nsCaret::nsCaret()
|
||||
, mLastCaretView(nsnull)
|
||||
, mLastContentOffset(0)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
|
||||
|
@ -248,7 +248,6 @@ NS_NewFrameTraversal(nsIBidirectionalEnumerator **aEnumerator,
|
||||
|
||||
nsFrameTraversal::nsFrameTraversal()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsFrameTraversal::~nsFrameTraversal()
|
||||
@ -277,7 +276,6 @@ nsFrameIterator::nsFrameIterator()
|
||||
mLast = nsnull;
|
||||
mCurrent = nsnull;
|
||||
mStart = nsnull;
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
|
||||
|
@ -48,7 +48,6 @@ NS_IMPL_ISUPPORTS2(nsImageLoader, imgIDecoderObserver, imgIContainerObserver)
|
||||
nsImageLoader::nsImageLoader() :
|
||||
mFrame(nsnull), mPresContext(nsnull)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsImageLoader::~nsImageLoader()
|
||||
|
@ -82,7 +82,6 @@ NS_NewLayoutDebugger(nsILayoutDebugger** aResult)
|
||||
|
||||
nsLayoutDebugger::nsLayoutDebugger()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsLayoutDebugger::~nsLayoutDebugger()
|
||||
|
@ -79,7 +79,6 @@ NS_NewLayoutHistoryState(nsILayoutHistoryState** aState)
|
||||
|
||||
nsLayoutHistoryState::nsLayoutHistoryState()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsLayoutHistoryState::~nsLayoutHistoryState()
|
||||
|
@ -154,7 +154,6 @@ nsPresContext::nsPresContext()
|
||||
NS_FONT_WEIGHT_NORMAL, 0, NSIntPointsToTwips(12)),
|
||||
mNoTheme(PR_FALSE)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
mCompatibilityMode = eCompatibility_FullStandards;
|
||||
mWidgetRenderingMode = eWidgetRendering_Gfx;
|
||||
mImageAnimationMode = imgIContainer::kNormalAnimMode;
|
||||
|
@ -49,7 +49,6 @@ NS_IMPL_ISUPPORTS1(nsPresState, nsIPresState)
|
||||
nsPresState::nsPresState(void)
|
||||
:mPropertyTable(nsnull)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsPresState::~nsPresState(void)
|
||||
|
@ -83,7 +83,6 @@ NS_NewAutoCopyService(nsIAutoCopyService** aResult)
|
||||
|
||||
nsAutoCopyService::nsAutoCopyService()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
|
@ -96,7 +96,6 @@ nsCaret::nsCaret()
|
||||
, mLastCaretView(nsnull)
|
||||
, mLastContentOffset(0)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
|
||||
|
@ -248,7 +248,6 @@ NS_NewFrameTraversal(nsIBidirectionalEnumerator **aEnumerator,
|
||||
|
||||
nsFrameTraversal::nsFrameTraversal()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsFrameTraversal::~nsFrameTraversal()
|
||||
@ -277,7 +276,6 @@ nsFrameIterator::nsFrameIterator()
|
||||
mLast = nsnull;
|
||||
mCurrent = nsnull;
|
||||
mStart = nsnull;
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
|
||||
|
@ -510,7 +510,6 @@ NS_NewFrameUtil(nsIFrameUtil** aResult)
|
||||
|
||||
nsFrameUtil::nsFrameUtil()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsFrameUtil::~nsFrameUtil()
|
||||
|
@ -48,7 +48,6 @@ NS_IMPL_ISUPPORTS2(nsImageLoader, imgIDecoderObserver, imgIContainerObserver)
|
||||
nsImageLoader::nsImageLoader() :
|
||||
mFrame(nsnull), mPresContext(nsnull)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsImageLoader::~nsImageLoader()
|
||||
|
@ -82,7 +82,6 @@ NS_NewLayoutDebugger(nsILayoutDebugger** aResult)
|
||||
|
||||
nsLayoutDebugger::nsLayoutDebugger()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsLayoutDebugger::~nsLayoutDebugger()
|
||||
|
@ -79,7 +79,6 @@ NS_NewLayoutHistoryState(nsILayoutHistoryState** aState)
|
||||
|
||||
nsLayoutHistoryState::nsLayoutHistoryState()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsLayoutHistoryState::~nsLayoutHistoryState()
|
||||
|
@ -154,7 +154,6 @@ nsPresContext::nsPresContext()
|
||||
NS_FONT_WEIGHT_NORMAL, 0, NSIntPointsToTwips(12)),
|
||||
mNoTheme(PR_FALSE)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
mCompatibilityMode = eCompatibility_FullStandards;
|
||||
mWidgetRenderingMode = eWidgetRendering_Gfx;
|
||||
mImageAnimationMode = imgIContainer::kNormalAnimMode;
|
||||
|
@ -49,7 +49,6 @@ NS_IMPL_ISUPPORTS1(nsPresState, nsIPresState)
|
||||
nsPresState::nsPresState(void)
|
||||
:mPropertyTable(nsnull)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsPresState::~nsPresState(void)
|
||||
|
@ -510,7 +510,6 @@ NS_NewFrameUtil(nsIFrameUtil** aResult)
|
||||
|
||||
nsFrameUtil::nsFrameUtil()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsFrameUtil::~nsFrameUtil()
|
||||
|
Loading…
x
Reference in New Issue
Block a user