aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/ExternalProtocolHandlers.cpp
diff options
context:
space:
mode:
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); */