fixing more MRJ build bustage for the mac.. resulting from my checkin for bug 124042
git-svn-id: svn://10.0.0.236/trunk@115948 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
a488b9c029
commit
6a28a5e882
@ -51,6 +51,8 @@
|
||||
#include "nsIIOService.h"
|
||||
#include "nsIURI.h"
|
||||
#include "nsNetCID.h"
|
||||
#include "nsString.h"
|
||||
#include "nsDependentString.h"
|
||||
|
||||
#include "MRJPlugin.h"
|
||||
#include "MRJContext.h"
|
||||
@ -213,7 +215,7 @@ NS_NewURI(nsIURI* *result,
|
||||
static NS_DEFINE_CID(kIOServiceCID, NS_IOSERVICE_CID);
|
||||
nsresult rv = theServiceManager->GetService(kIOServiceCID, NS_GET_IID(nsIIOService), (void**)&ioService);
|
||||
if (rv == NS_OK)
|
||||
rv = ioService->NewURI(spec, nsnull, baseURI, result);
|
||||
rv = ioService->NewURI(nsDependentCString(spec), nsnull, baseURI, result);
|
||||
NS_RELEASE(ioService);
|
||||
return rv;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user