fixes bug 216854 "necko should not have a compile-time dependency on exthandler" r=dougt sr=bryner
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user