summaryrefslogtreecommitdiff
path: root/embed/mozilla/ContentHandler.cpp
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <mpeseng@src.gnome.org>2003-04-12 00:37:43 +0000
committerMarco Pesenti Gritti <mpeseng@src.gnome.org>2003-04-12 00:37:43 +0000
commit824dfce72819337e7dad44f9b9c999caadd0e9a2 (patch)
tree5080b21ccbdf078fcd95eb2842e55ffd265aead6 /embed/mozilla/ContentHandler.cpp
parent3a57d18b63e6cde5a2a3bed06834020794c0ebd9 (diff)
downloadepiphany-824dfce72819337e7dad44f9b9c999caadd0e9a2.tar.gz
*** empty log message ***
Diffstat (limited to 'embed/mozilla/ContentHandler.cpp')
-rw-r--r--embed/mozilla/ContentHandler.cpp26
1 files changed, 0 insertions, 26 deletions
diff --git a/embed/mozilla/ContentHandler.cpp b/embed/mozilla/ContentHandler.cpp
index 2acf96a3a..c39bbc923 100644
--- a/embed/mozilla/ContentHandler.cpp
+++ b/embed/mozilla/ContentHandler.cpp
@@ -177,11 +177,9 @@ extern "C" {
#include "nsCRT.h"
#include "nsCOMPtr.h"
-#include "nsIFactory.h"
#include "nsISupportsArray.h"
#include "nsIServiceManager.h"
#include "nsWeakReference.h"
-#include "nsXPComFactory.h"
#include "nsString.h"
#include "nsIURI.h"
@@ -535,30 +533,6 @@ NS_METHOD GContentHandler::MIMEAskAction (void)
return NS_OK;
}
-//------------------------------------------------------------------------------
-
-NS_DEF_FACTORY (GContentHandler, GContentHandler);
-
-/**
- * NS_NewContentHandlerFactory:
- */
-nsresult NS_NewContentHandlerFactory(nsIFactory** aFactory)
-{
- NS_ENSURE_ARG_POINTER(aFactory);
- *aFactory = nsnull;
-
- nsGContentHandlerFactory *result = new nsGContentHandlerFactory;
- if (result == NULL)
- {
- return NS_ERROR_OUT_OF_MEMORY;
- }
-
- NS_ADDREF(result);
- *aFactory = result;
-
- return NS_OK;
-}
-
////////////////////////////////////////////////////////////////////////////////
// begin MIMEAskActionDialog methods.
////////////////////////////////////////////////////////////////////////////////