aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/ExternalProtocolService.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'embed/mozilla/ExternalProtocolService.cpp')
-rw-r--r--embed/mozilla/ExternalProtocolService.cpp23
1 files changed, 0 insertions, 23 deletions
diff --git a/embed/mozilla/ExternalProtocolService.cpp b/embed/mozilla/ExternalProtocolService.cpp
index 5d71b2b85..9d9a7368c 100644
--- a/embed/mozilla/ExternalProtocolService.cpp
+++ b/embed/mozilla/ExternalProtocolService.cpp
@@ -28,7 +28,6 @@
#include <nsIDOMWindow.h>
#include <nsIWindowWatcher.h>
#include <nsIServiceManager.h>
-#include <nsXPComFactory.h>
#include "ephy-prefs.h"
#include "eel-gconf-extensions.h"
@@ -152,25 +151,3 @@ NS_IMETHODIMP GExternalProtocolService::LoadUrl(nsIURI *aURL)
return NS_OK;
}
-
-NS_DEF_FACTORY (GExternalProtocolService, GExternalProtocolService);
-
-/**
- * NS_NewExternalProtocolServiceFactory:
- */
-nsresult NS_NewExternalProtocolServiceFactory(nsIFactory** aFactory)
-{
- NS_ENSURE_ARG_POINTER(aFactory);
- *aFactory = nsnull;
-
- nsGExternalProtocolServiceFactory *result = new nsGExternalProtocolServiceFactory;
- if (result == NULL)
- {
- return NS_ERROR_OUT_OF_MEMORY;
- }
-
- NS_ADDREF(result);
- *aFactory = result;
-
- return NS_OK;
-}