mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-23 21:01:08 +00:00
fixes bug 216854 "necko should not have a compile-time dependency on exthandler" r=dougt sr=bryner
This commit is contained in:
parent
8df24a01d8
commit
452afe9434
@ -46,7 +46,6 @@
|
||||
#include "nsXPIDLString.h"
|
||||
#include "nsString.h"
|
||||
#include "nsNetCID.h"
|
||||
#include "nsCExternalHandlerService.h"
|
||||
#include "nsIMIMEService.h"
|
||||
#include "nsMimeTypes.h"
|
||||
|
||||
@ -86,7 +85,7 @@ nsIMIMEService *
|
||||
nsJARProtocolHandler::MimeService()
|
||||
{
|
||||
if (!mMimeService)
|
||||
mMimeService = do_GetService(NS_MIMESERVICE_CONTRACTID);
|
||||
mMimeService = do_GetService("@mozilla.org/mime;1");
|
||||
|
||||
return mMimeService.get();
|
||||
}
|
||||
|
@ -30,7 +30,6 @@ MODULE = necko
|
||||
LIBRARY_NAME = neckobase_s
|
||||
REQUIRES = xpcom \
|
||||
string \
|
||||
exthandler \
|
||||
mimetype \
|
||||
uconv \
|
||||
locale \
|
||||
|
@ -60,8 +60,6 @@
|
||||
#include "prerror.h"
|
||||
#include "nsCRT.h"
|
||||
#include "nsInt64.h"
|
||||
#include "nsCExternalHandlerService.h"
|
||||
#include "nsIMIMEService.h"
|
||||
#include "nsIFile.h"
|
||||
#include "nsDirectoryIndexStream.h"
|
||||
#include "nsMimeTypes.h"
|
||||
|
@ -31,7 +31,6 @@ LIBRARY_NAME = nkjar_s
|
||||
REQUIRES = xpcom \
|
||||
string \
|
||||
jar \
|
||||
exthandler \
|
||||
mimetype \
|
||||
caps \
|
||||
js \
|
||||
|
@ -46,7 +46,6 @@
|
||||
#include "nsXPIDLString.h"
|
||||
#include "nsString.h"
|
||||
#include "nsNetCID.h"
|
||||
#include "nsCExternalHandlerService.h"
|
||||
#include "nsIMIMEService.h"
|
||||
#include "nsMimeTypes.h"
|
||||
|
||||
@ -86,7 +85,7 @@ nsIMIMEService *
|
||||
nsJARProtocolHandler::MimeService()
|
||||
{
|
||||
if (!mMimeService)
|
||||
mMimeService = do_GetService(NS_MIMESERVICE_CONTRACTID);
|
||||
mMimeService = do_GetService("@mozilla.org/mime;1");
|
||||
|
||||
return mMimeService.get();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user