From ba10b4ea6fbe8b701e1720584e10700050b291f1 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Mon, 24 Nov 2003 18:01:47 +0000 Subject: Get rid of NS_INIT_ISUPPORTS() macros in constructors; it's not been 2003-11-24 Christian Persch * embed/mozilla/ContentHandler.cpp: * embed/mozilla/EphyEventListener.cpp: * embed/mozilla/ExternalProtocolHandlers.cpp: * embed/mozilla/ExternalProtocolHandlers.h: * embed/mozilla/ExternalProtocolService.cpp: * embed/mozilla/FilePicker.cpp: * embed/mozilla/GlobalHistory.cpp: * embed/mozilla/PrintingPromptService.cpp: * embed/mozilla/mozilla-notifiers.cpp: Get rid of NS_INIT_ISUPPORTS() macros in constructors; it's not been needed since mozilla 1.3. --- embed/mozilla/ExternalProtocolHandlers.h | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) (limited to 'embed/mozilla/ExternalProtocolHandlers.h') diff --git a/embed/mozilla/ExternalProtocolHandlers.h b/embed/mozilla/ExternalProtocolHandlers.h index 7ff6e275b..027556d5e 100644 --- a/embed/mozilla/ExternalProtocolHandlers.h +++ b/embed/mozilla/ExternalProtocolHandlers.h @@ -44,7 +44,6 @@ class GBaseProtocolHandler : public nsIProtocolHandler GBaseProtocolHandler (const char *aScheme); virtual ~GBaseProtocolHandler(); - /* additional members */ protected: nsCString mScheme; }; @@ -60,7 +59,6 @@ class GBaseProtocolContentHandler : public GBaseProtocolHandler, GBaseProtocolContentHandler (const char *aScheme); virtual ~GBaseProtocolContentHandler(); - /* additional members */ protected: nsCString mMimeType; }; @@ -82,8 +80,8 @@ class GIRCProtocolHandler : public GBaseProtocolContentHandler { public: NS_DECL_ISUPPORTS - GIRCProtocolHandler() : GBaseProtocolContentHandler("irc") - {NS_INIT_ISUPPORTS();}; + + GIRCProtocolHandler() : GBaseProtocolContentHandler("irc") {}; virtual ~GIRCProtocolHandler() {}; }; @@ -104,10 +102,8 @@ class GFtpProtocolHandler : public GBaseProtocolContentHandler { public: NS_DECL_ISUPPORTS - GFtpProtocolHandler() : GBaseProtocolContentHandler("ftp") - {NS_INIT_ISUPPORTS();}; + GFtpProtocolHandler() : GBaseProtocolContentHandler("ftp") {}; virtual ~GFtpProtocolHandler() {}; - /* additional members */ }; #define G_MAILTO_PROTOCOL_CID \ @@ -127,8 +123,7 @@ class GMailtoProtocolHandler : public GBaseProtocolContentHandler { public: NS_DECL_ISUPPORTS - GMailtoProtocolHandler() : GBaseProtocolContentHandler("mailto") - {NS_INIT_ISUPPORTS();}; + GMailtoProtocolHandler() : GBaseProtocolContentHandler("mailto") {}; virtual ~GMailtoProtocolHandler() {}; private: }; @@ -150,8 +145,8 @@ class GNewsProtocolHandler : public GBaseProtocolContentHandler { public: NS_DECL_ISUPPORTS - GNewsProtocolHandler() : GBaseProtocolContentHandler("news") - {NS_INIT_ISUPPORTS();}; + + GNewsProtocolHandler() : GBaseProtocolContentHandler("news") {}; virtual ~GNewsProtocolHandler() {}; private: }; -- cgit v1.2.3