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 "nsXPIDLString.h"
|
||||||
#include "nsString.h"
|
#include "nsString.h"
|
||||||
#include "nsNetCID.h"
|
#include "nsNetCID.h"
|
||||||
#include "nsCExternalHandlerService.h"
|
|
||||||
#include "nsIMIMEService.h"
|
#include "nsIMIMEService.h"
|
||||||
#include "nsMimeTypes.h"
|
#include "nsMimeTypes.h"
|
||||||
|
|
||||||
@ -86,7 +85,7 @@ nsIMIMEService *
|
|||||||
nsJARProtocolHandler::MimeService()
|
nsJARProtocolHandler::MimeService()
|
||||||
{
|
{
|
||||||
if (!mMimeService)
|
if (!mMimeService)
|
||||||
mMimeService = do_GetService(NS_MIMESERVICE_CONTRACTID);
|
mMimeService = do_GetService("@mozilla.org/mime;1");
|
||||||
|
|
||||||
return mMimeService.get();
|
return mMimeService.get();
|
||||||
}
|
}
|
||||||
|
@ -30,7 +30,6 @@ MODULE = necko
|
|||||||
LIBRARY_NAME = neckobase_s
|
LIBRARY_NAME = neckobase_s
|
||||||
REQUIRES = xpcom \
|
REQUIRES = xpcom \
|
||||||
string \
|
string \
|
||||||
exthandler \
|
|
||||||
mimetype \
|
mimetype \
|
||||||
uconv \
|
uconv \
|
||||||
locale \
|
locale \
|
||||||
|
@ -60,8 +60,6 @@
|
|||||||
#include "prerror.h"
|
#include "prerror.h"
|
||||||
#include "nsCRT.h"
|
#include "nsCRT.h"
|
||||||
#include "nsInt64.h"
|
#include "nsInt64.h"
|
||||||
#include "nsCExternalHandlerService.h"
|
|
||||||
#include "nsIMIMEService.h"
|
|
||||||
#include "nsIFile.h"
|
#include "nsIFile.h"
|
||||||
#include "nsDirectoryIndexStream.h"
|
#include "nsDirectoryIndexStream.h"
|
||||||
#include "nsMimeTypes.h"
|
#include "nsMimeTypes.h"
|
||||||
|
@ -31,7 +31,6 @@ LIBRARY_NAME = nkjar_s
|
|||||||
REQUIRES = xpcom \
|
REQUIRES = xpcom \
|
||||||
string \
|
string \
|
||||||
jar \
|
jar \
|
||||||
exthandler \
|
|
||||||
mimetype \
|
mimetype \
|
||||||
caps \
|
caps \
|
||||||
js \
|
js \
|
||||||
|
@ -46,7 +46,6 @@
|
|||||||
#include "nsXPIDLString.h"
|
#include "nsXPIDLString.h"
|
||||||
#include "nsString.h"
|
#include "nsString.h"
|
||||||
#include "nsNetCID.h"
|
#include "nsNetCID.h"
|
||||||
#include "nsCExternalHandlerService.h"
|
|
||||||
#include "nsIMIMEService.h"
|
#include "nsIMIMEService.h"
|
||||||
#include "nsMimeTypes.h"
|
#include "nsMimeTypes.h"
|
||||||
|
|
||||||
@ -86,7 +85,7 @@ nsIMIMEService *
|
|||||||
nsJARProtocolHandler::MimeService()
|
nsJARProtocolHandler::MimeService()
|
||||||
{
|
{
|
||||||
if (!mMimeService)
|
if (!mMimeService)
|
||||||
mMimeService = do_GetService(NS_MIMESERVICE_CONTRACTID);
|
mMimeService = do_GetService("@mozilla.org/mime;1");
|
||||||
|
|
||||||
return mMimeService.get();
|
return mMimeService.get();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user