Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag

git-svn-id: svn://10.0.0.236/trunk@136003 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
dbaron%dbaron.org
2003-01-08 20:44:25 +00:00
parent f5b5bace95
commit 9b5780673f
52 changed files with 2 additions and 79 deletions

View File

@@ -62,7 +62,6 @@ static NS_DEFINE_CID(kIOServiceCID, NS_IOSERVICE_CID);
class RobotSinkObserver : public nsIRobotSinkObserver {
public:
RobotSinkObserver() {
NS_INIT_ISUPPORTS();
}
virtual ~RobotSinkObserver() {
@@ -148,8 +147,6 @@ class CStreamListener: public nsIWebProgressListener,
{
public:
CStreamListener() {
NS_INIT_ISUPPORTS();
}
virtual ~CStreamListener() {

View File

@@ -190,8 +190,6 @@ CNavDTD::CNavDTD() : nsIDTD(),
mExpectedCRC32(0)
#endif
{
NS_INIT_ISUPPORTS();
mBodyContext=new nsDTDContext();
#ifdef RICKG_DEBUG

View File

@@ -146,7 +146,6 @@ NS_IMPL_RELEASE(COtherDTD)
* @return
*/
COtherDTD::COtherDTD() : nsIDTD() {
NS_INIT_ISUPPORTS();
mSink = 0;
mParser=0;
mLineNumber=1;

View File

@@ -1577,7 +1577,6 @@ NS_IMPL_ISUPPORTS1(nsObserverEntry, nsIObserverEntry)
nsObserverEntry::nsObserverEntry(const nsAString& aTopic) : mTopic(aTopic)
{
NS_INIT_ISUPPORTS();
memset(mObservers, 0, sizeof(mObservers));
}

View File

@@ -309,7 +309,6 @@ nsExpatDriver::nsExpatDriver()
mSink(0),
mCatalogData(nsnull)
{
NS_INIT_ISUPPORTS();
}
nsExpatDriver::~nsExpatDriver()

View File

@@ -135,7 +135,6 @@ NS_NewHTMLNullSink(nsIContentSink** aInstancePtrResult)
* @return
*/
nsHTMLNullSink::nsHTMLNullSink() : nsIHTMLContentSink() {
NS_INIT_ISUPPORTS();
mNodeStackPos=0;
memset(mNodeStack,0,sizeof(mNodeStack));
}

View File

@@ -135,8 +135,6 @@ NS_IMPL_RELEASE(nsHTMLTokenizer)
eParserCommands aCommand) :
nsITokenizer(), mTokenDeque(0)
{
NS_INIT_ISUPPORTS();
if (aParseMode==eDTDMode_full_standards ||
aParseMode==eDTDMode_almost_standards) {
mFlags = NS_IPARSER_FLAG_STRICT_MODE;

View File

@@ -74,7 +74,6 @@ NS_NewHTMLLoggingSink(nsIContentSink** aInstancePtrResult)
}
nsLoggingSink::nsLoggingSink() {
NS_INIT_ISUPPORTS();
mOutput = 0;
mLevel=-1;
mSink=0;

View File

@@ -300,8 +300,6 @@ static PRBool gDumpContent=PR_FALSE;
* @return
*/
nsParser::nsParser(nsITokenObserver* anObserver) {
NS_INIT_ISUPPORTS();
#ifdef NS_DEBUG
if(!gDumpContent) {
gDumpContent=(PR_GetEnv("PARSER_DUMP_CONTENT"))? PR_TRUE:PR_FALSE;

View File

@@ -28,7 +28,6 @@
nsParserService::nsParserService() : mEntries(0)
{
NS_INIT_ISUPPORTS();
mHaveNotifiedCategoryObservers = PR_FALSE;
}

View File

@@ -328,8 +328,6 @@ static const char* const kDumpFileAfterText[] = {
* @return
*/
CViewSourceHTML::CViewSourceHTML() : mFilename(), mTags(), mErrors() {
NS_INIT_ISUPPORTS();
mStartTag = VIEW_SOURCE_START_TAG;
mEndTag = VIEW_SOURCE_END_TAG;
mCommentTag = VIEW_SOURCE_COMMENT;

View File

@@ -87,7 +87,6 @@ protected:
StreamToFile::StreamToFile(FILE* fp)
{
NS_INIT_ISUPPORTS();
mDone = PR_FALSE;
mError = PR_FALSE;
mFile = fp;