diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2003-11-25 02:01:47 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2003-11-25 02:01:47 +0800 |
commit | ba10b4ea6fbe8b701e1720584e10700050b291f1 (patch) | |
tree | 62f3614252d30a071c3e40a0b51a0fd4be5fd1b7 /embed/mozilla/ExternalProtocolHandlers.h | |
parent | 68870c943201f590683544421c28965e69a27272 (diff) | |
download | gsoc2013-epiphany-ba10b4ea6fbe8b701e1720584e10700050b291f1.tar gsoc2013-epiphany-ba10b4ea6fbe8b701e1720584e10700050b291f1.tar.gz gsoc2013-epiphany-ba10b4ea6fbe8b701e1720584e10700050b291f1.tar.bz2 gsoc2013-epiphany-ba10b4ea6fbe8b701e1720584e10700050b291f1.tar.lz gsoc2013-epiphany-ba10b4ea6fbe8b701e1720584e10700050b291f1.tar.xz gsoc2013-epiphany-ba10b4ea6fbe8b701e1720584e10700050b291f1.tar.zst gsoc2013-epiphany-ba10b4ea6fbe8b701e1720584e10700050b291f1.zip |
Get rid of NS_INIT_ISUPPORTS() macros in constructors; it's not been
2003-11-24 Christian Persch <chpe@cvs.gnome.org>
* 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.
Diffstat (limited to 'embed/mozilla/ExternalProtocolHandlers.h')
-rw-r--r-- | embed/mozilla/ExternalProtocolHandlers.h | 17 |
1 files changed, 6 insertions, 11 deletions
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: }; |