зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1087442 - Attach LoadInfo inside each individual ProtocolHandler - modules/ changes (r=mwu)
This commit is contained in:
Родитель
b3d1653ff6
Коммит
1e54ee4250
|
@ -223,6 +223,13 @@ nsJARProtocolHandler::NewChannel2(nsIURI* uri,
|
|||
return rv;
|
||||
}
|
||||
|
||||
// set the loadInfo on the new channel
|
||||
rv = chan->SetLoadInfo(aLoadInfo);
|
||||
if (NS_FAILED(rv)) {
|
||||
NS_RELEASE(chan);
|
||||
return rv;
|
||||
}
|
||||
|
||||
*result = chan;
|
||||
return NS_OK;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче