зеркало из https://github.com/mozilla/gecko-dev.git
Changed signature of NewInputStreamChannel to pass load group.
This commit is contained in:
Родитель
dd39105041
Коммит
a2a211c738
|
@ -1937,7 +1937,7 @@ char *VCARD_URL = {"resource:/chrome/messenger/content/default/vcard_en.properti
|
|||
|
||||
extern "C"
|
||||
char *
|
||||
VCardGetStringByIDREAL(PRInt32 stringID)
|
||||
VCardGetStringByID(PRInt32 stringID)
|
||||
{
|
||||
nsresult res = NS_OK;
|
||||
char* propertyURL;
|
||||
|
@ -2029,7 +2029,7 @@ VCardGetStringByIDREAL(PRInt32 stringID)
|
|||
|
||||
extern "C"
|
||||
char *
|
||||
VCardGetStringByID(PRInt32 stringID)
|
||||
VCardGetStringByIDHACK(PRInt32 stringID)
|
||||
{
|
||||
if (-1000 == stringID) return PL_strdup("Application is out of memory.");
|
||||
if (1001 == stringID) return PL_strdup("State");
|
||||
|
|
|
@ -442,7 +442,7 @@ NS_IMETHODIMP nsStreamConverter::Init(nsIURI *aURI, nsIStreamListener * aOutList
|
|||
// the following output channel stream is used to fake the content type for people who later
|
||||
// call into us..
|
||||
NS_WITH_SERVICE(nsIIOService, netService, kIOServiceCID, &rv);
|
||||
rv = netService->NewInputStreamChannel(aURI, mOutputFormat, nsnull, getter_AddRefs(mOutgoingChannel));
|
||||
rv = netService->NewInputStreamChannel(aURI, mOutputFormat, nsnull, nsnull, getter_AddRefs(mOutgoingChannel));
|
||||
|
||||
// We will first find an appropriate emitter in the repository that supports
|
||||
// the requested output format...note, the special exceptions are nsMimeMessageDraftOrTemplate
|
||||
|
|
Загрузка…
Ссылка в новой задаче