diff --git a/mozilla/content/svg/content/src/nsSVGTransform.cpp b/mozilla/content/svg/content/src/nsSVGTransform.cpp index 661dee6bb3a..00ca8b53c9c 100644 --- a/mozilla/content/svg/content/src/nsSVGTransform.cpp +++ b/mozilla/content/svg/content/src/nsSVGTransform.cpp @@ -101,7 +101,6 @@ nsSVGTransform::nsSVGTransform() mOriginY(0.0f), mType( SVG_TRANSFORM_MATRIX ) { - NS_INIT_ISUPPORTS(); } nsresult nsSVGTransform::Init() diff --git a/mozilla/content/svg/content/src/nsSVGTransformList.cpp b/mozilla/content/svg/content/src/nsSVGTransformList.cpp index ae1e7b1b272..dfdafc4fe79 100644 --- a/mozilla/content/svg/content/src/nsSVGTransformList.cpp +++ b/mozilla/content/svg/content/src/nsSVGTransformList.cpp @@ -70,7 +70,6 @@ nsSVGTransformList::Create(nsIDOMSVGTransformList** aResult) nsSVGTransformList::nsSVGTransformList() { - NS_INIT_ISUPPORTS(); } nsSVGTransformList::~nsSVGTransformList() diff --git a/mozilla/content/xbl/src/nsBindingManager.cpp b/mozilla/content/xbl/src/nsBindingManager.cpp index 61aa81c4630..4132f66301d 100644 --- a/mozilla/content/xbl/src/nsBindingManager.cpp +++ b/mozilla/content/xbl/src/nsBindingManager.cpp @@ -502,7 +502,6 @@ NS_IMPL_ISUPPORTS3(nsBindingManager, nsIBindingManager, nsIStyleRuleSupplier, ns // Constructors/Destructors nsBindingManager::nsBindingManager(void) { - NS_INIT_ISUPPORTS(); mBindingTable.ops = nsnull; mContentListTable.ops = nsnull; diff --git a/mozilla/content/xbl/src/nsXBLBinding.cpp b/mozilla/content/xbl/src/nsXBLBinding.cpp index cd88dcba20f..b65dab6f322 100644 --- a/mozilla/content/xbl/src/nsXBLBinding.cpp +++ b/mozilla/content/xbl/src/nsXBLBinding.cpp @@ -243,7 +243,6 @@ nsXBLBinding::nsXBLBinding(nsIXBLPrototypeBinding* aBinding) mIsStyleBinding(PR_TRUE), mMarkedForDeath(PR_FALSE) { - NS_INIT_ISUPPORTS(); mPrototypeBinding = aBinding; gRefCnt++; // printf("REF COUNT UP: %d %s\n", gRefCnt, (const char*)mID); diff --git a/mozilla/content/xbl/src/nsXBLDocumentInfo.cpp b/mozilla/content/xbl/src/nsXBLDocumentInfo.cpp index f62bb6b78a3..f5e8dc54d0d 100644 --- a/mozilla/content/xbl/src/nsXBLDocumentInfo.cpp +++ b/mozilla/content/xbl/src/nsXBLDocumentInfo.cpp @@ -133,7 +133,6 @@ nsXBLDocGlobalObject::nsXBLDocGlobalObject() : mJSObject(nsnull), mGlobalObjectOwner(nsnull) { - NS_INIT_ISUPPORTS(); } @@ -357,7 +356,6 @@ NS_IMPL_ISUPPORTS3(nsXBLDocumentInfo, nsIXBLDocumentInfo, nsIScriptGlobalObjectO nsXBLDocumentInfo::nsXBLDocumentInfo(const char* aDocURI, nsIDocument* aDocument) { - NS_INIT_ISUPPORTS(); /* member initializers and constructor code */ mDocURI = aDocURI; mDocument = aDocument; diff --git a/mozilla/content/xbl/src/nsXBLEventHandler.cpp b/mozilla/content/xbl/src/nsXBLEventHandler.cpp index 0e96e317318..4ad0311065c 100644 --- a/mozilla/content/xbl/src/nsXBLEventHandler.cpp +++ b/mozilla/content/xbl/src/nsXBLEventHandler.cpp @@ -78,7 +78,6 @@ nsXBLEventHandler::nsXBLEventHandler(nsIDOMEventReceiver* aEventReceiver, nsIXBLPrototypeHandler* aHandler) { - NS_INIT_ISUPPORTS(); mEventReceiver = aEventReceiver; mProtoHandler = aHandler; mNextHandler = nsnull; diff --git a/mozilla/content/xbl/src/nsXBLInsertionPoint.cpp b/mozilla/content/xbl/src/nsXBLInsertionPoint.cpp index 761e9a9a3e8..7601884f1ef 100644 --- a/mozilla/content/xbl/src/nsXBLInsertionPoint.cpp +++ b/mozilla/content/xbl/src/nsXBLInsertionPoint.cpp @@ -45,7 +45,6 @@ nsXBLInsertionPoint::nsXBLInsertionPoint(nsIContent* aParentElement, PRUint32 aIndex, nsIContent* aDefaultContent) :mElements(nsnull) { - NS_INIT_ISUPPORTS(); mParentElement = aParentElement; mIndex = aIndex; mDefaultContentTemplate = aDefaultContent; diff --git a/mozilla/content/xbl/src/nsXBLPrototypeBinding.cpp b/mozilla/content/xbl/src/nsXBLPrototypeBinding.cpp index c02f21a28b2..f3390246b24 100644 --- a/mozilla/content/xbl/src/nsXBLPrototypeBinding.cpp +++ b/mozilla/content/xbl/src/nsXBLPrototypeBinding.cpp @@ -137,7 +137,7 @@ public: protected: nsXBLAttributeEntry(nsIAtom* aSrcAtom, nsIAtom* aDstAtom, nsIContent* aContent) { - NS_INIT_ISUPPORTS(); mSrcAttribute = aSrcAtom; mDstAttribute = aDstAtom; mElement = aContent; + mSrcAttribute = aSrcAtom; mDstAttribute = aDstAtom; mElement = aContent; } virtual ~nsXBLAttributeEntry() {} @@ -208,7 +208,6 @@ public: protected: nsXBLInsertionPointEntry(nsIContent* aParent) { - NS_INIT_ISUPPORTS(); mInsertionIndex = 0; mInsertionParent = aParent; }; @@ -266,7 +265,6 @@ nsXBLPrototypeBinding::nsXBLPrototypeBinding(const nsACString& aID, nsIXBLDocume mInsertionPointTable(nsnull), mInterfaceTable(nsnull) { - NS_INIT_ISUPPORTS(); mID = ToNewCString(aID); diff --git a/mozilla/content/xbl/src/nsXBLPrototypeHandler.cpp b/mozilla/content/xbl/src/nsXBLPrototypeHandler.cpp index 99f19fca40e..bd380191336 100644 --- a/mozilla/content/xbl/src/nsXBLPrototypeHandler.cpp +++ b/mozilla/content/xbl/src/nsXBLPrototypeHandler.cpp @@ -101,7 +101,6 @@ nsXBLPrototypeHandler::nsXBLPrototypeHandler(const PRUnichar* aEvent, const PRUn const PRUnichar* aModifiers, const PRUnichar* aButton, const PRUnichar* aClickCount, const PRUnichar* aPreventDefault) { - NS_INIT_ISUPPORTS(); ++gRefCnt; if (gRefCnt == 1) // Get the primary accelerator key. @@ -115,7 +114,6 @@ nsXBLPrototypeHandler::nsXBLPrototypeHandler(const PRUnichar* aEvent, const PRUn nsXBLPrototypeHandler::nsXBLPrototypeHandler(nsIContent* aHandlerElement) { - NS_INIT_ISUPPORTS(); ++gRefCnt; if (gRefCnt == 1) diff --git a/mozilla/content/xbl/src/nsXBLResourceLoader.cpp b/mozilla/content/xbl/src/nsXBLResourceLoader.cpp index 03a35adeb90..dd548bcf1aa 100644 --- a/mozilla/content/xbl/src/nsXBLResourceLoader.cpp +++ b/mozilla/content/xbl/src/nsXBLResourceLoader.cpp @@ -70,7 +70,6 @@ nsXBLResourceLoader::nsXBLResourceLoader(nsIXBLPrototypeBinding* aBinding, nsXBL mInLoadResourcesFunc(PR_FALSE), mPendingSheets(0) { - NS_INIT_ISUPPORTS(); } nsXBLResourceLoader::~nsXBLResourceLoader() diff --git a/mozilla/content/xbl/src/nsXBLService.cpp b/mozilla/content/xbl/src/nsXBLService.cpp index db7e7ab28a1..b8319f8b67a 100644 --- a/mozilla/content/xbl/src/nsXBLService.cpp +++ b/mozilla/content/xbl/src/nsXBLService.cpp @@ -269,7 +269,6 @@ nsXBLStreamListener::nsXBLStreamListener(nsXBLService* aXBLService, nsIStreamListener* aInner, nsIDocument* aDocument, nsIDocument* aBindingDocument) { - NS_INIT_ISUPPORTS(); /* member initializers and constructor code */ mXBLService = aXBLService; mInner = aInner; @@ -482,7 +481,6 @@ NS_IMPL_ISUPPORTS3(nsXBLService, nsIXBLService, nsIObserver, nsISupportsWeakRefe // Constructors/Destructors nsXBLService::nsXBLService(void) { - NS_INIT_ISUPPORTS(); mPool.Init("XBL Binding Requests", kBucketSizes, kNumBuckets, kInitialSize); gRefCnt++; diff --git a/mozilla/content/xbl/src/nsXBLWindowDragHandler.cpp b/mozilla/content/xbl/src/nsXBLWindowDragHandler.cpp index 3fc780e8e9c..43afdb658a0 100644 --- a/mozilla/content/xbl/src/nsXBLWindowDragHandler.cpp +++ b/mozilla/content/xbl/src/nsXBLWindowDragHandler.cpp @@ -62,7 +62,6 @@ nsIAtom* nsXBLWindowDragHandler::kDragDropAtom = nsnull; nsXBLWindowDragHandler::nsXBLWindowDragHandler(nsIDOMEventReceiver* aReceiver) : nsXBLWindowHandler(nsnull, aReceiver) { - NS_INIT_ISUPPORTS(); gRefCnt++; if (gRefCnt == 1) { diff --git a/mozilla/content/xbl/src/nsXBLWindowKeyHandler.cpp b/mozilla/content/xbl/src/nsXBLWindowKeyHandler.cpp index e30d8eed0f3..49252d25c9e 100644 --- a/mozilla/content/xbl/src/nsXBLWindowKeyHandler.cpp +++ b/mozilla/content/xbl/src/nsXBLWindowKeyHandler.cpp @@ -64,7 +64,6 @@ nsIAtom* nsXBLWindowKeyHandler::kKeyPressAtom = nsnull; nsXBLWindowKeyHandler::nsXBLWindowKeyHandler(nsIDOMElement* aElement, nsIDOMEventReceiver* aReceiver) : nsXBLWindowHandler(aElement, aReceiver) { - NS_INIT_ISUPPORTS(); gRefCnt++; if (gRefCnt == 1) { diff --git a/mozilla/content/xml/content/src/nsXMLNamedNodeMap.cpp b/mozilla/content/xml/content/src/nsXMLNamedNodeMap.cpp index a6cf1d5acbc..ab24d7eb325 100644 --- a/mozilla/content/xml/content/src/nsXMLNamedNodeMap.cpp +++ b/mozilla/content/xml/content/src/nsXMLNamedNodeMap.cpp @@ -93,7 +93,6 @@ NS_NewXMLNamedNodeMap(nsIDOMNamedNodeMap** aInstancePtrResult, nsXMLNamedNodeMap::nsXMLNamedNodeMap(nsISupportsArray *aArray) { - NS_INIT_ISUPPORTS(); mArray = aArray; diff --git a/mozilla/content/xml/document/src/nsLoadSaveContentSink.cpp b/mozilla/content/xml/document/src/nsLoadSaveContentSink.cpp index 823a6aadfed..454c46b298b 100644 --- a/mozilla/content/xml/document/src/nsLoadSaveContentSink.cpp +++ b/mozilla/content/xml/document/src/nsLoadSaveContentSink.cpp @@ -62,7 +62,6 @@ NS_NewLoadSaveContentSink(nsILoadSaveContentSink** aResult, nsLoadSaveContentSink::nsLoadSaveContentSink() { - NS_INIT_ISUPPORTS(); } nsLoadSaveContentSink::~nsLoadSaveContentSink() diff --git a/mozilla/content/xml/document/src/nsXMLContentSink.cpp b/mozilla/content/xml/document/src/nsXMLContentSink.cpp index ecb6d8289f9..1f1cce41b86 100644 --- a/mozilla/content/xml/document/src/nsXMLContentSink.cpp +++ b/mozilla/content/xml/document/src/nsXMLContentSink.cpp @@ -155,7 +155,6 @@ NS_NewXMLContentSink(nsIXMLContentSink** aResult, nsXMLContentSink::nsXMLContentSink() { - NS_INIT_ISUPPORTS(); mDocument = nsnull; mDocumentURL = nsnull; @@ -1545,7 +1544,6 @@ public: XMLElementFactoryImpl::XMLElementFactoryImpl() { - NS_INIT_ISUPPORTS(); } XMLElementFactoryImpl::~XMLElementFactoryImpl() @@ -1606,7 +1604,6 @@ public: MathMLElementFactoryImpl::MathMLElementFactoryImpl() { - NS_INIT_ISUPPORTS(); } MathMLElementFactoryImpl::~MathMLElementFactoryImpl() diff --git a/mozilla/content/xml/document/src/nsXMLPrettyPrinter.cpp b/mozilla/content/xml/document/src/nsXMLPrettyPrinter.cpp index 942fe69757a..f526e78cd30 100644 --- a/mozilla/content/xml/document/src/nsXMLPrettyPrinter.cpp +++ b/mozilla/content/xml/document/src/nsXMLPrettyPrinter.cpp @@ -62,7 +62,6 @@ nsXMLPrettyPrinter::nsXMLPrettyPrinter() : mDocument(nsnull), mUpdateDepth(0), mUnhookPending(PR_FALSE) { - NS_INIT_ISUPPORTS(); } nsXMLPrettyPrinter::~nsXMLPrettyPrinter() diff --git a/mozilla/content/xsl/document/src/nsTransformMediator.cpp b/mozilla/content/xsl/document/src/nsTransformMediator.cpp index f6ceb701a6a..cc5d7a5e7fe 100644 --- a/mozilla/content/xsl/document/src/nsTransformMediator.cpp +++ b/mozilla/content/xsl/document/src/nsTransformMediator.cpp @@ -62,7 +62,6 @@ NS_NewTransformMediator(nsITransformMediator** aInstancePtrResult, nsTransformMediator::nsTransformMediator() : mEnabled(PR_FALSE), mStyleInvalid(PR_FALSE) { - NS_INIT_ISUPPORTS(); } nsTransformMediator::~nsTransformMediator() diff --git a/mozilla/content/xul/content/src/nsRDFDOMNodeList.cpp b/mozilla/content/xul/content/src/nsRDFDOMNodeList.cpp index dcc2357936f..60f7a547c63 100644 --- a/mozilla/content/xul/content/src/nsRDFDOMNodeList.cpp +++ b/mozilla/content/xul/content/src/nsRDFDOMNodeList.cpp @@ -63,7 +63,6 @@ nsRDFDOMNodeList::nsRDFDOMNodeList(void) : //mInner(nsnull), Not being used? mElements(nsnull) { - NS_INIT_ISUPPORTS(); } nsRDFDOMNodeList::~nsRDFDOMNodeList(void) diff --git a/mozilla/content/xul/content/src/nsXULAttributes.cpp b/mozilla/content/xul/content/src/nsXULAttributes.cpp index a8942679fc1..033f2b5110a 100644 --- a/mozilla/content/xul/content/src/nsXULAttributes.cpp +++ b/mozilla/content/xul/content/src/nsXULAttributes.cpp @@ -159,7 +159,6 @@ nsXULAttribute::nsXULAttribute(nsIContent* aContent, : mContent(aContent), mNodeInfo(aNodeInfo) { - NS_INIT_ISUPPORTS(); NS_IF_ADDREF(aNodeInfo); SetValueInternal(aValue); } @@ -506,7 +505,6 @@ nsXULAttributes::nsXULAttributes(nsIContent* aContent) mClassList(nsnull), mStyleRule(nsnull) { - NS_INIT_ISUPPORTS(); } diff --git a/mozilla/content/xul/content/src/nsXULElement.cpp b/mozilla/content/xul/content/src/nsXULElement.cpp index afce9377db7..35012907fef 100644 --- a/mozilla/content/xul/content/src/nsXULElement.cpp +++ b/mozilla/content/xul/content/src/nsXULElement.cpp @@ -450,7 +450,6 @@ nsXULElement::nsXULElement() mBindingParent(nsnull), mSlots(nsnull) { - NS_INIT_ISUPPORTS(); XUL_PROTOTYPE_ATTRIBUTE_METER(gNumElements); } diff --git a/mozilla/content/xul/content/src/nsXULPopupListener.cpp b/mozilla/content/xul/content/src/nsXULPopupListener.cpp index 6995a3cab56..194a20186f5 100644 --- a/mozilla/content/xul/content/src/nsXULPopupListener.cpp +++ b/mozilla/content/xul/content/src/nsXULPopupListener.cpp @@ -146,7 +146,6 @@ private: XULPopupListenerImpl::XULPopupListenerImpl(void) : mElement(nsnull), mPopupContent(nsnull) { - NS_INIT_ISUPPORTS(); } XULPopupListenerImpl::~XULPopupListenerImpl(void) diff --git a/mozilla/content/xul/document/src/nsXULCommandDispatcher.cpp b/mozilla/content/xul/document/src/nsXULCommandDispatcher.cpp index 0ae10f3f1dc..e34a53852d8 100644 --- a/mozilla/content/xul/document/src/nsXULCommandDispatcher.cpp +++ b/mozilla/content/xul/document/src/nsXULCommandDispatcher.cpp @@ -79,7 +79,6 @@ static PRLogModuleInfo* gLog; nsXULCommandDispatcher::nsXULCommandDispatcher(nsIDocument* aDocument) : mFocusController(nsnull), mDocument(aDocument), mUpdaters(nsnull) { - NS_INIT_ISUPPORTS(); #ifdef PR_LOGGING if (! gLog) diff --git a/mozilla/content/xul/document/src/nsXULContentSink.cpp b/mozilla/content/xul/document/src/nsXULContentSink.cpp index cb1969405b2..c2cbf5f3453 100644 --- a/mozilla/content/xul/document/src/nsXULContentSink.cpp +++ b/mozilla/content/xul/document/src/nsXULContentSink.cpp @@ -336,7 +336,6 @@ XULContentSinkImpl::XULContentSinkImpl(nsresult& rv) mState(eInProlog), mParser(nsnull) { - NS_INIT_ISUPPORTS(); if (gRefCnt++ == 0) { kScriptAtom = NS_NewAtom("script"); diff --git a/mozilla/content/xul/document/src/nsXULControllers.cpp b/mozilla/content/xul/document/src/nsXULControllers.cpp index 8b81cdcc3ff..839bab2c8e0 100644 --- a/mozilla/content/xul/document/src/nsXULControllers.cpp +++ b/mozilla/content/xul/document/src/nsXULControllers.cpp @@ -59,7 +59,6 @@ nsXULControllers::nsXULControllers() : mCurControllerID(0) { - NS_INIT_ISUPPORTS(); } nsXULControllers::~nsXULControllers(void) diff --git a/mozilla/content/xul/document/src/nsXULDocument.cpp b/mozilla/content/xul/document/src/nsXULDocument.cpp index d420ce2f5b2..dbce2ecb059 100644 --- a/mozilla/content/xul/document/src/nsXULDocument.cpp +++ b/mozilla/content/xul/document/src/nsXULDocument.cpp @@ -237,7 +237,6 @@ private: public: nsProxyLoadStream(void) : mBuffer(nsnull) { - NS_INIT_ISUPPORTS(); } virtual ~nsProxyLoadStream(void) { @@ -374,7 +373,6 @@ PlaceHolderRequest::Create(nsIRequest** aResult) PlaceHolderRequest::PlaceHolderRequest() { - NS_INIT_ISUPPORTS(); if (gRefCnt++ == 0) { nsresult rv; @@ -425,7 +423,6 @@ nsXULDocument::nsXULDocument(void) mCurrentScriptProto(nsnull), mBroadcasterMap(nsnull) { - NS_INIT_ISUPPORTS(); mCharSetID.Assign(NS_LITERAL_STRING("UTF-8")); // Force initialization. @@ -6869,7 +6866,6 @@ nsXULDocument::CachedChromeStreamListener::CachedChromeStreamListener(nsXULDocum : mDocument(aDocument), mProtoLoaded(aProtoLoaded) { - NS_INIT_ISUPPORTS(); NS_ADDREF(mDocument); } @@ -6925,7 +6921,6 @@ nsXULDocument::CachedChromeStreamListener::OnDataAvailable(nsIRequest *request, nsXULDocument::ParserObserver::ParserObserver(nsXULDocument* aDocument) : mDocument(aDocument) { - NS_INIT_ISUPPORTS(); NS_ADDREF(mDocument); } @@ -7042,7 +7037,6 @@ public: XULElementFactoryImpl::XULElementFactoryImpl() { - NS_INIT_ISUPPORTS(); } XULElementFactoryImpl::~XULElementFactoryImpl() diff --git a/mozilla/content/xul/document/src/nsXULPrototypeCache.cpp b/mozilla/content/xul/document/src/nsXULPrototypeCache.cpp index 8eeb67ee749..3c9923496a5 100644 --- a/mozilla/content/xul/document/src/nsXULPrototypeCache.cpp +++ b/mozilla/content/xul/document/src/nsXULPrototypeCache.cpp @@ -194,7 +194,6 @@ nsIFile* nsXULPrototypeCache::gFastLoadFile = nsnull; nsXULPrototypeCache::nsXULPrototypeCache() : mJSRuntime(nsnull) { - NS_INIT_ISUPPORTS(); } @@ -759,7 +758,6 @@ class nsXULFastLoadFileIO : public nsIFastLoadFileIO public: nsXULFastLoadFileIO(nsIFile* aFile) : mFile(aFile) { - NS_INIT_ISUPPORTS(); MOZ_COUNT_CTOR(nsXULFastLoadFileIO); } diff --git a/mozilla/content/xul/document/src/nsXULPrototypeDocument.cpp b/mozilla/content/xul/document/src/nsXULPrototypeDocument.cpp index 5fbb5e340a8..110ef71a26d 100644 --- a/mozilla/content/xul/document/src/nsXULPrototypeDocument.cpp +++ b/mozilla/content/xul/document/src/nsXULPrototypeDocument.cpp @@ -228,7 +228,6 @@ nsXULPrototypeDocument::nsXULPrototypeDocument() mGlobalObject(nsnull), mLoaded(PR_FALSE) { - NS_INIT_ISUPPORTS(); } @@ -729,7 +728,6 @@ nsXULPDGlobalObject::nsXULPDGlobalObject() : mJSObject(nsnull), mGlobalObjectOwner(nsnull) { - NS_INIT_ISUPPORTS(); } diff --git a/mozilla/content/xul/templates/src/nsXULSortService.cpp b/mozilla/content/xul/templates/src/nsXULSortService.cpp index b76b6cd9a93..aebc1d96930 100644 --- a/mozilla/content/xul/templates/src/nsXULSortService.cpp +++ b/mozilla/content/xul/templates/src/nsXULSortService.cpp @@ -212,7 +212,6 @@ nsString* XULSortServiceImpl::kDescendingStr = nsnull; XULSortServiceImpl::XULSortServiceImpl(void) { - NS_INIT_ISUPPORTS(); if (gRefCnt == 0) { kStaticHintAtom = NS_NewAtom("staticHint"); kStaticsSortLastHintAtom = NS_NewAtom("sortStaticsLast"); diff --git a/mozilla/content/xul/templates/src/nsXULTemplateBuilder.cpp b/mozilla/content/xul/templates/src/nsXULTemplateBuilder.cpp index 6f08db57714..86af7b25bc3 100644 --- a/mozilla/content/xul/templates/src/nsXULTemplateBuilder.cpp +++ b/mozilla/content/xul/templates/src/nsXULTemplateBuilder.cpp @@ -157,7 +157,6 @@ nsXULTemplateBuilder::nsXULTemplateBuilder(void) mFlags(0), mTop(nsnull) { - NS_INIT_ISUPPORTS(); } nsXULTemplateBuilder::~nsXULTemplateBuilder(void) diff --git a/mozilla/db/mork/build/nsMorkFactory.cpp b/mozilla/db/mork/build/nsMorkFactory.cpp index 67f7e3cf38e..599f6ffbab2 100644 --- a/mozilla/db/mork/build/nsMorkFactory.cpp +++ b/mozilla/db/mork/build/nsMorkFactory.cpp @@ -97,7 +97,6 @@ nsMorkFactoryFactory::QueryInterface(REFNSIID iid, void** result) nsMorkFactoryFactory::nsMorkFactoryFactory() { - NS_INIT_ISUPPORTS(); } NS_IMETHODIMP nsMorkFactoryFactory::GetMdbFactory(nsIMdbFactory **aFactory) diff --git a/mozilla/db/mork/src/morkObject.cpp b/mozilla/db/mork/src/morkObject.cpp index a18dfe87168..070b20aa56a 100644 --- a/mozilla/db/mork/src/morkObject.cpp +++ b/mozilla/db/mork/src/morkObject.cpp @@ -95,7 +95,6 @@ morkObject::morkObject(const morkUsage& inUsage, nsIMdbHeap* ioHeap, : morkBead(inUsage, ioHeap, inBeadColor) , mObject_Handle( 0 ) { - NS_INIT_ISUPPORTS(); mMorkEnv = nsnull; } @@ -107,7 +106,6 @@ morkObject::morkObject(morkEnv* ev, , mObject_Handle( 0 ) { mMorkEnv = ev; - NS_INIT_ISUPPORTS(); if ( ev->Good() ) { if ( ioHandle ) diff --git a/mozilla/db/mork/src/orkinRow.cpp b/mozilla/db/mork/src/orkinRow.cpp index c37ae15cba2..56942d53ae9 100644 --- a/mozilla/db/mork/src/orkinRow.cpp +++ b/mozilla/db/mork/src/orkinRow.cpp @@ -113,7 +113,6 @@ orkinRow::orkinRow(morkEnv* ev, // morkUsage is morkUsage_kPool morkRowObject* ioObject) // must not be nil, the object for this handle : morkHandle(ev, ioFace, ioObject, morkMagic_kRow) { - NS_INIT_ISUPPORTS(); // do not modify mNode_Derived; leave it equal to morkDerived_kHandle } diff --git a/mozilla/directory/xpcom/base/src/nsLDAPBERValue.cpp b/mozilla/directory/xpcom/base/src/nsLDAPBERValue.cpp index f6af2121311..c19764128a7 100644 --- a/mozilla/directory/xpcom/base/src/nsLDAPBERValue.cpp +++ b/mozilla/directory/xpcom/base/src/nsLDAPBERValue.cpp @@ -41,7 +41,6 @@ NS_IMPL_THREADSAFE_ISUPPORTS1(nsLDAPBERValue, nsILDAPBERValue) nsLDAPBERValue::nsLDAPBERValue() : mValue(0), mSize(0) { - NS_INIT_ISUPPORTS(); } nsLDAPBERValue::~nsLDAPBERValue() diff --git a/mozilla/directory/xpcom/base/src/nsLDAPChannel.cpp b/mozilla/directory/xpcom/base/src/nsLDAPChannel.cpp index 022fce2662b..9929784b652 100644 --- a/mozilla/directory/xpcom/base/src/nsLDAPChannel.cpp +++ b/mozilla/directory/xpcom/base/src/nsLDAPChannel.cpp @@ -63,7 +63,6 @@ NS_IMPL_THREADSAFE_ISUPPORTS3(nsLDAPChannel, nsLDAPChannel::nsLDAPChannel() { - NS_INIT_ISUPPORTS(); } nsLDAPChannel::~nsLDAPChannel() diff --git a/mozilla/directory/xpcom/base/src/nsLDAPConnection.cpp b/mozilla/directory/xpcom/base/src/nsLDAPConnection.cpp index c16bac17f65..4a6a4e9d572 100644 --- a/mozilla/directory/xpcom/base/src/nsLDAPConnection.cpp +++ b/mozilla/directory/xpcom/base/src/nsLDAPConnection.cpp @@ -65,7 +65,6 @@ nsLDAPConnection::nsLDAPConnection() mDNSRequest(0), mDNSFinished(PR_FALSE) { - NS_INIT_ISUPPORTS(); } // destructor @@ -538,7 +537,6 @@ nsLDAPConnectionLoop::nsLDAPConnectionLoop() : mWeakConn(0), mLock(0) { - NS_INIT_ISUPPORTS(); } // destructor diff --git a/mozilla/directory/xpcom/base/src/nsLDAPMessage.cpp b/mozilla/directory/xpcom/base/src/nsLDAPMessage.cpp index b2785a83d71..2be5c1a32ce 100644 --- a/mozilla/directory/xpcom/base/src/nsLDAPMessage.cpp +++ b/mozilla/directory/xpcom/base/src/nsLDAPMessage.cpp @@ -53,7 +53,6 @@ nsLDAPMessage::nsLDAPMessage() mReferrals(0), mServerControls(0) { - NS_INIT_ISUPPORTS(); } // destructor diff --git a/mozilla/directory/xpcom/base/src/nsLDAPOperation.cpp b/mozilla/directory/xpcom/base/src/nsLDAPOperation.cpp index 280a95972f7..f704d7bc3a7 100644 --- a/mozilla/directory/xpcom/base/src/nsLDAPOperation.cpp +++ b/mozilla/directory/xpcom/base/src/nsLDAPOperation.cpp @@ -43,7 +43,6 @@ // constructor nsLDAPOperation::nsLDAPOperation() { - NS_INIT_ISUPPORTS(); } // destructor diff --git a/mozilla/directory/xpcom/base/src/nsLDAPProtocolHandler.cpp b/mozilla/directory/xpcom/base/src/nsLDAPProtocolHandler.cpp index ac23ef1ca59..4c9cf4ee6d0 100644 --- a/mozilla/directory/xpcom/base/src/nsLDAPProtocolHandler.cpp +++ b/mozilla/directory/xpcom/base/src/nsLDAPProtocolHandler.cpp @@ -47,7 +47,6 @@ NS_IMPL_ISUPPORTS1(nsLDAPProtocolHandler, nsIProtocolHandler) nsLDAPProtocolHandler::nsLDAPProtocolHandler() { - NS_INIT_ISUPPORTS(); } nsLDAPProtocolHandler::~nsLDAPProtocolHandler() diff --git a/mozilla/directory/xpcom/base/src/nsLDAPServer.cpp b/mozilla/directory/xpcom/base/src/nsLDAPServer.cpp index 492af9466b0..7168ced6640 100644 --- a/mozilla/directory/xpcom/base/src/nsLDAPServer.cpp +++ b/mozilla/directory/xpcom/base/src/nsLDAPServer.cpp @@ -39,7 +39,6 @@ NS_IMPL_THREADSAFE_ISUPPORTS1(nsLDAPServer, nsILDAPServer) nsLDAPServer::nsLDAPServer() { - NS_INIT_ISUPPORTS(); mSizeLimit = 0; } diff --git a/mozilla/directory/xpcom/base/src/nsLDAPService.cpp b/mozilla/directory/xpcom/base/src/nsLDAPService.cpp index 43cc45073e9..db9641f0c8a 100644 --- a/mozilla/directory/xpcom/base/src/nsLDAPService.cpp +++ b/mozilla/directory/xpcom/base/src/nsLDAPService.cpp @@ -224,7 +224,6 @@ nsLDAPService::nsLDAPService() mServers(0), mConnections(0) { - NS_INIT_ISUPPORTS(); } // destructor diff --git a/mozilla/directory/xpcom/base/src/nsLDAPURL.cpp b/mozilla/directory/xpcom/base/src/nsLDAPURL.cpp index 528dee2dd11..e4ab32fbf32 100644 --- a/mozilla/directory/xpcom/base/src/nsLDAPURL.cpp +++ b/mozilla/directory/xpcom/base/src/nsLDAPURL.cpp @@ -54,7 +54,6 @@ nsLDAPURL::nsLDAPURL() mOptions(0), mAttributes(0) { - NS_INIT_ISUPPORTS(); } nsLDAPURL::~nsLDAPURL() diff --git a/mozilla/docshell/base/nsDSURIContentListener.cpp b/mozilla/docshell/base/nsDSURIContentListener.cpp index 0620f9e3052..fd8cb219d75 100644 --- a/mozilla/docshell/base/nsDSURIContentListener.cpp +++ b/mozilla/docshell/base/nsDSURIContentListener.cpp @@ -34,7 +34,6 @@ nsDSURIContentListener::nsDSURIContentListener() : mDocShell(nsnull), mParentContentListener(nsnull) { - NS_INIT_ISUPPORTS(); } nsDSURIContentListener::~nsDSURIContentListener() diff --git a/mozilla/docshell/base/nsDefaultURIFixup.cpp b/mozilla/docshell/base/nsDefaultURIFixup.cpp index c4065435cda..672475e87d1 100644 --- a/mozilla/docshell/base/nsDefaultURIFixup.cpp +++ b/mozilla/docshell/base/nsDefaultURIFixup.cpp @@ -38,7 +38,6 @@ NS_IMPL_ISUPPORTS1(nsDefaultURIFixup, nsIURIFixup) nsDefaultURIFixup::nsDefaultURIFixup() { - NS_INIT_ISUPPORTS(); /* member initializers and constructor code */ // Try and get the pref service diff --git a/mozilla/docshell/base/nsDocShell.cpp b/mozilla/docshell/base/nsDocShell.cpp index 46304e5bcf0..a8c14b4a896 100644 --- a/mozilla/docshell/base/nsDocShell.cpp +++ b/mozilla/docshell/base/nsDocShell.cpp @@ -244,7 +244,6 @@ nsDocShell::nsDocShell(): mChromeEventHandler(nsnull), mIsPrintingOrPP(PR_FALSE) { - NS_INIT_ISUPPORTS(); #ifdef PR_LOGGING if (! gDocShellLog) gDocShellLog = PR_NewLogModule("nsDocShell"); @@ -6748,7 +6747,6 @@ nsDocShell::IsBeingDestroyed(PRBool *aDoomed) nsRefreshTimer::nsRefreshTimer():mRepeat(PR_FALSE), mDelay(0), mMetaRefresh(PR_FALSE) { - NS_INIT_ISUPPORTS(); } nsRefreshTimer::~nsRefreshTimer() @@ -6860,7 +6858,6 @@ nsDocShellFocusController::ClosingDown(nsIDocShell* aDocShell) //***************************************************************************** nsDocShell::InterfaceRequestorProxy::InterfaceRequestorProxy(nsIInterfaceRequestor* p) { - NS_INIT_ISUPPORTS(); if (p) { mWeakPtr = getter_AddRefs(NS_GetWeakReference(p)); } diff --git a/mozilla/docshell/base/nsDocShellEnumerator.cpp b/mozilla/docshell/base/nsDocShellEnumerator.cpp index 0405e41a994..7b0c57f8fcc 100644 --- a/mozilla/docshell/base/nsDocShellEnumerator.cpp +++ b/mozilla/docshell/base/nsDocShellEnumerator.cpp @@ -32,7 +32,6 @@ nsDocShellEnumerator::nsDocShellEnumerator(PRInt32 inEnumerationDirection) , mDocShellType(nsIDocShellTreeItem::typeAll) , mEnumerationDirection(inEnumerationDirection) { - NS_INIT_ISUPPORTS(); } nsDocShellEnumerator::~nsDocShellEnumerator() diff --git a/mozilla/docshell/base/nsDocShellLoadInfo.cpp b/mozilla/docshell/base/nsDocShellLoadInfo.cpp index 43f6e8fe936..d37e010d0d0 100644 --- a/mozilla/docshell/base/nsDocShellLoadInfo.cpp +++ b/mozilla/docshell/base/nsDocShellLoadInfo.cpp @@ -31,7 +31,6 @@ nsDocShellLoadInfo::nsDocShellLoadInfo() { - NS_INIT_ISUPPORTS(); mLoadType = nsIDocShellLoadInfo::loadNormal; mInheritOwner = PR_FALSE; } diff --git a/mozilla/docshell/base/nsWebShell.cpp b/mozilla/docshell/base/nsWebShell.cpp index 2ae4ff99c80..b73f9019514 100644 --- a/mozilla/docshell/base/nsWebShell.cpp +++ b/mozilla/docshell/base/nsWebShell.cpp @@ -188,7 +188,6 @@ nsWebShell::nsWebShell() : nsDocShell() printf("WEBSHELL+ = %ld\n", gNumberOfWebShells); #endif - NS_INIT_ISUPPORTS(); mThread = nsnull; InitFrameData(); mItemType = typeContent; diff --git a/mozilla/dom/public/nsIBaseDOMException.h b/mozilla/dom/public/nsIBaseDOMException.h index e64d9f8eb59..a02e69373f6 100644 --- a/mozilla/dom/public/nsIBaseDOMException.h +++ b/mozilla/dom/public/nsIBaseDOMException.h @@ -85,7 +85,6 @@ private: \ \ classname::classname(nsIException* aInner) : mBase(aInner) \ { \ - NS_INIT_ISUPPORTS(); \ } \ classname::~classname() {} \ \ diff --git a/mozilla/dom/public/nsIDOMClassInfo.h b/mozilla/dom/public/nsIDOMClassInfo.h index 26767c95aff..1b232be073a 100644 --- a/mozilla/dom/public/nsIDOMClassInfo.h +++ b/mozilla/dom/public/nsIDOMClassInfo.h @@ -402,7 +402,6 @@ NS_DOMCI_EXTENSION_CONSTRUCTOR_IMP(NS_DOMCI_EXTENSION_NAME(_module)) \ \ NS_DOMCI_EXTENSION_NAME(_module)::NS_DOMCI_EXTENSION_NAME(_module)() \ { \ - NS_INIT_ISUPPORTS(); \ }; \ \ NS_DOMCI_EXTENSION_NAME(_module)::~NS_DOMCI_EXTENSION_NAME(_module)() \ diff --git a/mozilla/dom/src/base/nsBarProps.cpp b/mozilla/dom/src/base/nsBarProps.cpp index 1527afa4a0c..e4f7de54a78 100644 --- a/mozilla/dom/src/base/nsBarProps.cpp +++ b/mozilla/dom/src/base/nsBarProps.cpp @@ -56,7 +56,6 @@ // BarPropImpl::BarPropImpl() : mBrowserChrome(nsnull) { - NS_INIT_ISUPPORTS(); } BarPropImpl::~BarPropImpl() diff --git a/mozilla/dom/src/base/nsDOMClassInfo.cpp b/mozilla/dom/src/base/nsDOMClassInfo.cpp index 77cc793fc0a..f341e5b0139 100644 --- a/mozilla/dom/src/base/nsDOMClassInfo.cpp +++ b/mozilla/dom/src/base/nsDOMClassInfo.cpp @@ -1024,7 +1024,6 @@ nsDOMClassInfo::ThrowJSException(JSContext *cx, nsresult aResult) nsDOMClassInfo::nsDOMClassInfo(nsDOMClassInfoData* aData) : mData(aData) { - NS_INIT_ISUPPORTS(); } nsDOMClassInfo::~nsDOMClassInfo() diff --git a/mozilla/dom/src/base/nsDOMClassInfo.h b/mozilla/dom/src/base/nsDOMClassInfo.h index 441edb5bc5d..fb25fe2d611 100644 --- a/mozilla/dom/src/base/nsDOMClassInfo.h +++ b/mozilla/dom/src/base/nsDOMClassInfo.h @@ -1124,7 +1124,6 @@ class nsEventListenerThisTranslator : public nsIXPCFunctionThisTranslator public: nsEventListenerThisTranslator() { - NS_INIT_ISUPPORTS(); } virtual ~nsEventListenerThisTranslator() diff --git a/mozilla/dom/src/base/nsDOMException.cpp b/mozilla/dom/src/base/nsDOMException.cpp index be602d4b24c..9b85bc4bfd4 100644 --- a/mozilla/dom/src/base/nsDOMException.cpp +++ b/mozilla/dom/src/base/nsDOMException.cpp @@ -125,7 +125,6 @@ nsRangeException::GetCode(PRUint16* aCode) nsBaseDOMException::nsBaseDOMException() { - NS_INIT_ISUPPORTS(); } nsBaseDOMException::~nsBaseDOMException() diff --git a/mozilla/dom/src/base/nsDOMWindowList.cpp b/mozilla/dom/src/base/nsDOMWindowList.cpp index 3426348f573..df87f5ab683 100644 --- a/mozilla/dom/src/base/nsDOMWindowList.cpp +++ b/mozilla/dom/src/base/nsDOMWindowList.cpp @@ -57,7 +57,6 @@ nsDOMWindowList::nsDOMWindowList(nsIDocShell *aDocShell) { - NS_INIT_ISUPPORTS(); SetDocShell(aDocShell); } diff --git a/mozilla/dom/src/base/nsFocusController.cpp b/mozilla/dom/src/base/nsFocusController.cpp index f48e7ccf3f0..e252050db28 100644 --- a/mozilla/dom/src/base/nsFocusController.cpp +++ b/mozilla/dom/src/base/nsFocusController.cpp @@ -61,7 +61,6 @@ nsFocusController::nsFocusController(void) mActive(PR_FALSE), mUpdateWindowWatcher(PR_FALSE) { - NS_INIT_ISUPPORTS(); } nsFocusController::~nsFocusController(void) diff --git a/mozilla/dom/src/base/nsGlobalWindow.cpp b/mozilla/dom/src/base/nsGlobalWindow.cpp index 0f9f9fdcc37..a4471a455af 100644 --- a/mozilla/dom/src/base/nsGlobalWindow.cpp +++ b/mozilla/dom/src/base/nsGlobalWindow.cpp @@ -216,7 +216,6 @@ GlobalWindowImpl::GlobalWindowImpl() mChromeEventHandler(nsnull), mFrameElement(nsnull) { - NS_INIT_ISUPPORTS(); // We could have failed the first time through trying // to create the entropy collector, so we should // try to get one until we succeed. @@ -5519,7 +5518,6 @@ NavigatorImpl::NavigatorImpl(nsIDocShell *aDocShell) : mPlugins(nsnull), mDocShell(aDocShell) { - NS_INIT_ISUPPORTS(); } NavigatorImpl::~NavigatorImpl() @@ -6089,7 +6087,6 @@ NS_INTERFACE_MAP_END nsDOMWindowController::nsDOMWindowController(nsIDOMWindowInternal *aWindow) { - NS_INIT_ISUPPORTS(); mWindow = aWindow; // Set mBrowseWithCaret so we don't need to check pref every time diff --git a/mozilla/dom/src/base/nsHistory.cpp b/mozilla/dom/src/base/nsHistory.cpp index 0dc5808fd9a..a21994a2221 100644 --- a/mozilla/dom/src/base/nsHistory.cpp +++ b/mozilla/dom/src/base/nsHistory.cpp @@ -58,7 +58,6 @@ // HistoryImpl::HistoryImpl(nsIDocShell* aDocShell) : mDocShell(aDocShell) { - NS_INIT_ISUPPORTS(); } HistoryImpl::~HistoryImpl() diff --git a/mozilla/dom/src/base/nsJSEnvironment.cpp b/mozilla/dom/src/base/nsJSEnvironment.cpp index b98ec75d52b..8637259868f 100644 --- a/mozilla/dom/src/base/nsJSEnvironment.cpp +++ b/mozilla/dom/src/base/nsJSEnvironment.cpp @@ -386,7 +386,6 @@ nsJSContext::JSOptionChangedCallback(const char *pref, void *data) nsJSContext::nsJSContext(JSRuntime *aRuntime) : mGCOnDestruction(PR_TRUE) { - NS_INIT_ISUPPORTS(); ++sContextCount; diff --git a/mozilla/dom/src/base/nsLocation.cpp b/mozilla/dom/src/base/nsLocation.cpp index d7078504fc0..47c87ac6d09 100644 --- a/mozilla/dom/src/base/nsLocation.cpp +++ b/mozilla/dom/src/base/nsLocation.cpp @@ -108,7 +108,6 @@ static nsresult GetDocumentCharacterSetForURI(const nsAString& aHref, nsACString LocationImpl::LocationImpl(nsIDocShell *aDocShell) { - NS_INIT_ISUPPORTS(); mDocShell = aDocShell; // Weak Reference } diff --git a/mozilla/dom/src/base/nsMimeTypeArray.cpp b/mozilla/dom/src/base/nsMimeTypeArray.cpp index e67f1f2b471..ded71e7e76c 100644 --- a/mozilla/dom/src/base/nsMimeTypeArray.cpp +++ b/mozilla/dom/src/base/nsMimeTypeArray.cpp @@ -48,7 +48,6 @@ static NS_DEFINE_IID(kISupportsIID, NS_ISUPPORTS_IID); MimeTypeArrayImpl::MimeTypeArrayImpl(nsIDOMNavigator* navigator) { - NS_INIT_ISUPPORTS(); mNavigator = navigator; mMimeTypeCount = 0; mMimeTypeArray = nsnull; @@ -201,7 +200,6 @@ nsresult MimeTypeArrayImpl::GetMimeTypes() MimeTypeElementImpl::MimeTypeElementImpl(nsIDOMPlugin* aPlugin, nsIDOMMimeType* aMimeType) { - NS_INIT_ISUPPORTS(); mPlugin = aPlugin; mMimeType = aMimeType; } diff --git a/mozilla/dom/src/base/nsPluginArray.cpp b/mozilla/dom/src/base/nsPluginArray.cpp index 82164df05ed..60fd34f2e16 100644 --- a/mozilla/dom/src/base/nsPluginArray.cpp +++ b/mozilla/dom/src/base/nsPluginArray.cpp @@ -57,7 +57,6 @@ PluginArrayImpl::PluginArrayImpl(NavigatorImpl* navigator, nsIDocShell *aDocShell) { nsresult rv; - NS_INIT_ISUPPORTS(); mNavigator = navigator; // don't ADDREF here, needed for parent of script object. mPluginHost = do_GetService(kPluginManagerCID, &rv); mPluginCount = 0; @@ -290,7 +289,6 @@ PluginArrayImpl::GetPlugins() PluginElementImpl::PluginElementImpl(nsIDOMPlugin* plugin) { - NS_INIT_ISUPPORTS(); mPlugin = plugin; // don't AddRef, see PluginArrayImpl::Item. mMimeTypeCount = 0; mMimeTypeArray = nsnull; diff --git a/mozilla/dom/src/base/nsScreen.cpp b/mozilla/dom/src/base/nsScreen.cpp index 4484b74d0a3..b595e34f377 100644 --- a/mozilla/dom/src/base/nsScreen.cpp +++ b/mozilla/dom/src/base/nsScreen.cpp @@ -55,7 +55,6 @@ // ScreenImpl::ScreenImpl(nsIDocShell* aDocShell) : mDocShell(aDocShell) { - NS_INIT_ISUPPORTS(); } ScreenImpl::~ScreenImpl() diff --git a/mozilla/dom/src/base/nsWindowRoot.cpp b/mozilla/dom/src/base/nsWindowRoot.cpp index c900bd9df75..1829268ffd9 100644 --- a/mozilla/dom/src/base/nsWindowRoot.cpp +++ b/mozilla/dom/src/base/nsWindowRoot.cpp @@ -40,7 +40,6 @@ static NS_DEFINE_CID(kEventListenerManagerCID, NS_EVENTLISTENERMANAGER_CID); nsWindowRoot::nsWindowRoot(nsIDOMWindow* aWindow) { - NS_INIT_ISUPPORTS(); mWindow = aWindow; // Create and init our focus controller. diff --git a/mozilla/dom/src/build/nsDOMFactory.cpp b/mozilla/dom/src/build/nsDOMFactory.cpp index 5a27d9706f6..82bd3704636 100644 --- a/mozilla/dom/src/build/nsDOMFactory.cpp +++ b/mozilla/dom/src/build/nsDOMFactory.cpp @@ -113,7 +113,6 @@ public: nsDOMSOFactory::nsDOMSOFactory() { - NS_INIT_ISUPPORTS(); nsCOMPtr observerService = do_GetService("@mozilla.org/observer-service;1"); diff --git a/mozilla/dom/src/events/nsJSEventListener.cpp b/mozilla/dom/src/events/nsJSEventListener.cpp index 02e28b43391..410dbf08c81 100644 --- a/mozilla/dom/src/events/nsJSEventListener.cpp +++ b/mozilla/dom/src/events/nsJSEventListener.cpp @@ -53,7 +53,6 @@ nsJSEventListener::nsJSEventListener(nsIScriptContext *aContext, nsISupports *aObject) { - NS_INIT_ISUPPORTS(); // mObject is a weak reference. We are guaranteed // because of the ownership model that this object will be diff --git a/mozilla/dom/src/jsurl/nsJSProtocolHandler.cpp b/mozilla/dom/src/jsurl/nsJSProtocolHandler.cpp index d4cb3f29aad..4531656efd0 100644 --- a/mozilla/dom/src/jsurl/nsJSProtocolHandler.cpp +++ b/mozilla/dom/src/jsurl/nsJSProtocolHandler.cpp @@ -101,7 +101,6 @@ NS_IMPL_THREADSAFE_ISUPPORTS1(nsJSThunk, nsIStreamIO); nsJSThunk::nsJSThunk() : mResult(nsnull), mLength(0) { - NS_INIT_ISUPPORTS(); } nsJSThunk::~nsJSThunk() @@ -437,7 +436,6 @@ nsJSChannel::nsJSChannel() : mIOThunk(nsnull), mIsActive(PR_FALSE) { - NS_INIT_ISUPPORTS(); } nsJSChannel::~nsJSChannel() @@ -711,7 +709,6 @@ nsJSChannel::SetContentLength(PRInt32 aContentLength) nsJSProtocolHandler::nsJSProtocolHandler() { - NS_INIT_ISUPPORTS(); } nsresult diff --git a/mozilla/editor/composer/src/nsComposeTxtSrvFilter.cpp b/mozilla/editor/composer/src/nsComposeTxtSrvFilter.cpp index d4ed9b3e31a..e39a5a318a2 100644 --- a/mozilla/editor/composer/src/nsComposeTxtSrvFilter.cpp +++ b/mozilla/editor/composer/src/nsComposeTxtSrvFilter.cpp @@ -45,7 +45,6 @@ nsComposeTxtSrvFilter::nsComposeTxtSrvFilter() : mIsForMail(PR_FALSE) { - NS_INIT_ISUPPORTS(); mBlockQuoteAtom = getter_AddRefs(do_GetAtom("blockquote")); mTypeAtom = getter_AddRefs(do_GetAtom("type")); diff --git a/mozilla/editor/composer/src/nsComposerCommands.cpp b/mozilla/editor/composer/src/nsComposerCommands.cpp index c95587bdc00..a07bee9cfa7 100644 --- a/mozilla/editor/composer/src/nsComposerCommands.cpp +++ b/mozilla/editor/composer/src/nsComposerCommands.cpp @@ -85,7 +85,6 @@ nsresult SetTextProperty(nsIEditor *aEditor, const PRUnichar *prop, nsBaseComposerCommand::nsBaseComposerCommand() { - NS_INIT_ISUPPORTS(); } NS_IMPL_ISUPPORTS1(nsBaseComposerCommand, nsIControllerCommand) diff --git a/mozilla/editor/composer/src/nsComposerCommandsUpdater.cpp b/mozilla/editor/composer/src/nsComposerCommandsUpdater.cpp index cb22f49deb4..53e93b88af3 100644 --- a/mozilla/editor/composer/src/nsComposerCommandsUpdater.cpp +++ b/mozilla/editor/composer/src/nsComposerCommandsUpdater.cpp @@ -47,7 +47,6 @@ nsComposerCommandsUpdater::nsComposerCommandsUpdater() , mSelectionCollapsed(eStateUninitialized) , mFirstDoOfFirstUndo(PR_TRUE) { - NS_INIT_ISUPPORTS(); } nsComposerCommandsUpdater::~nsComposerCommandsUpdater() diff --git a/mozilla/editor/composer/src/nsEditingSession.cpp b/mozilla/editor/composer/src/nsEditingSession.cpp index 86e76a8f340..2830337604d 100644 --- a/mozilla/editor/composer/src/nsEditingSession.cpp +++ b/mozilla/editor/composer/src/nsEditingSession.cpp @@ -96,7 +96,6 @@ nsEditingSession::nsEditingSession() , mDocStateControllerId(0) , mHTMLCommandControllerId(0) { - NS_INIT_ISUPPORTS(); } /*--------------------------------------------------------------------------- diff --git a/mozilla/editor/composer/src/nsEditorParserObserver.cpp b/mozilla/editor/composer/src/nsEditorParserObserver.cpp index 62c237853b6..a66b3edf47f 100644 --- a/mozilla/editor/composer/src/nsEditorParserObserver.cpp +++ b/mozilla/editor/composer/src/nsEditorParserObserver.cpp @@ -57,7 +57,6 @@ NS_INTERFACE_MAP_END nsEditorParserObserver::nsEditorParserObserver() : mBadTagFound(PR_FALSE) { - NS_INIT_ISUPPORTS(); } nsEditorParserObserver::~nsEditorParserObserver() diff --git a/mozilla/editor/composer/src/nsEditorService.cpp b/mozilla/editor/composer/src/nsEditorService.cpp index 74d11ec6ec3..7f70963d2a1 100644 --- a/mozilla/editor/composer/src/nsEditorService.cpp +++ b/mozilla/editor/composer/src/nsEditorService.cpp @@ -41,7 +41,6 @@ nsEditorService::nsEditorService() { - NS_INIT_ISUPPORTS(); } nsEditorService::~nsEditorService() diff --git a/mozilla/editor/composer/src/nsEditorSpellCheck.cpp b/mozilla/editor/composer/src/nsEditorSpellCheck.cpp index 34b43ae63a4..96edc9881f8 100644 --- a/mozilla/editor/composer/src/nsEditorSpellCheck.cpp +++ b/mozilla/editor/composer/src/nsEditorSpellCheck.cpp @@ -63,7 +63,6 @@ nsEditorSpellCheck::nsEditorSpellCheck() : mSuggestedWordIndex(0) , mDictionaryIndex(0) { - NS_INIT_ISUPPORTS(); } nsEditorSpellCheck::~nsEditorSpellCheck() diff --git a/mozilla/editor/libeditor/base/EditAggregateTxn.cpp b/mozilla/editor/libeditor/base/EditAggregateTxn.cpp index 68d2ea641d2..1feccf55535 100644 --- a/mozilla/editor/libeditor/base/EditAggregateTxn.cpp +++ b/mozilla/editor/libeditor/base/EditAggregateTxn.cpp @@ -44,7 +44,6 @@ EditAggregateTxn::EditAggregateTxn() : EditTxn() { - // base class does this: NS_INIT_ISUPPORTS(); nsresult res = NS_NewISupportsArray(getter_AddRefs(mChildren)); NS_POSTCONDITION(NS_SUCCEEDED(res), "EditAggregateTxn failed in constructor"); } diff --git a/mozilla/editor/libeditor/base/EditTxn.cpp b/mozilla/editor/libeditor/base/EditTxn.cpp index 599785e0ded..3cee4c80d70 100644 --- a/mozilla/editor/libeditor/base/EditTxn.cpp +++ b/mozilla/editor/libeditor/base/EditTxn.cpp @@ -51,7 +51,6 @@ NS_IMPL_RELEASE(EditTxn) // note that aEditor is not refcounted EditTxn::EditTxn() { - NS_INIT_ISUPPORTS(); } EditTxn::~EditTxn() diff --git a/mozilla/editor/libeditor/base/nsEditor.cpp b/mozilla/editor/libeditor/base/nsEditor.cpp index e73e9ec5820..27f1b2ba424 100644 --- a/mozilla/editor/libeditor/base/nsEditor.cpp +++ b/mozilla/editor/libeditor/base/nsEditor.cpp @@ -176,7 +176,6 @@ nsEditor::nsEditor() , mPhonetic(nsnull) { //initialize member variables here - NS_INIT_ISUPPORTS(); PR_AtomicIncrement(&gInstanceCount); diff --git a/mozilla/editor/libeditor/base/nsEditorCommands.cpp b/mozilla/editor/libeditor/base/nsEditorCommands.cpp index fd4856ede08..0a6109f8b0b 100644 --- a/mozilla/editor/libeditor/base/nsEditorCommands.cpp +++ b/mozilla/editor/libeditor/base/nsEditorCommands.cpp @@ -57,7 +57,6 @@ nsBaseEditorCommand::nsBaseEditorCommand() { - NS_INIT_ISUPPORTS(); } NS_IMPL_ISUPPORTS1(nsBaseEditorCommand, nsIControllerCommand) diff --git a/mozilla/editor/libeditor/html/TypeInState.cpp b/mozilla/editor/libeditor/html/TypeInState.cpp index f2bebc0c05b..f3dd425e522 100644 --- a/mozilla/editor/libeditor/html/TypeInState.cpp +++ b/mozilla/editor/libeditor/html/TypeInState.cpp @@ -77,7 +77,6 @@ TypeInState::TypeInState() : ,mRelativeFontSize(0) ,mLastSelectionOffset(0) { - NS_INIT_ISUPPORTS(); Reset(); } diff --git a/mozilla/editor/libeditor/html/nsEditProperty.cpp b/mozilla/editor/libeditor/html/nsEditProperty.cpp index 9ad88c3fc8f..c9c9722ce25 100644 --- a/mozilla/editor/libeditor/html/nsEditProperty.cpp +++ b/mozilla/editor/libeditor/html/nsEditProperty.cpp @@ -183,7 +183,6 @@ But what about BODY, TR, TD, TH, CAPTION, COL, COLGROUP, THEAD, TFOOT, LI, DT, D */ nsEditProperty::nsEditProperty() { - NS_INIT_ISUPPORTS(); // inline tags nsIEditProperty::b = NS_NewAtom("b"); nsIEditProperty::big = NS_NewAtom("big");