aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/ExternalProtocolHandlers.cpp
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2003-11-25 02:01:47 +0800
committerChristian Persch <chpe@src.gnome.org>2003-11-25 02:01:47 +0800
commitba10b4ea6fbe8b701e1720584e10700050b291f1 (patch)
tree62f3614252d30a071c3e40a0b51a0fd4be5fd1b7 /embed/mozilla/ExternalProtocolHandlers.cpp
parent68870c943201f590683544421c28965e69a27272 (diff)
downloadgsoc2013-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.cpp')
-rw-r--r--embed/mozilla/ExternalProtocolHandlers.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/embed/mozilla/ExternalProtocolHandlers.cpp b/embed/mozilla/ExternalProtocolHandlers.cpp
index 10b4283c8..f5dfa3264 100644
--- a/embed/mozilla/ExternalProtocolHandlers.cpp
+++ b/embed/mozilla/ExternalProtocolHandlers.cpp
@@ -41,14 +41,11 @@ NS_IMPL_ISUPPORTS1 (GBaseProtocolHandler, nsIProtocolHandler)
GBaseProtocolHandler::GBaseProtocolHandler(const char *aScheme)
{
- NS_INIT_ISUPPORTS();
- /* member initializers and constructor code */
mScheme.Assign(aScheme);
}
GBaseProtocolHandler::~GBaseProtocolHandler()
{
- /* destructor code */
}
/* readonly attribute string scheme; */
@@ -121,14 +118,11 @@ NS_IMPL_ISUPPORTS2 (GBaseProtocolContentHandler, nsIProtocolHandler, nsIContentH
GBaseProtocolContentHandler::GBaseProtocolContentHandler(const char *aScheme) :
GBaseProtocolHandler(aScheme)
{
- NS_INIT_ISUPPORTS();
- /* member initializers and constructor code */
mMimeType = NS_LITERAL_CSTRING("application-x-gnome-") + mScheme;
}
GBaseProtocolContentHandler::~GBaseProtocolContentHandler()
{
- /* destructor code */
}
/* nsIChannel newChannel (in nsIURI aURI); */