зеркало из https://github.com/mozilla/gecko-dev.git
Bug 724584: Pass in aRequest as an nsIRequest* (instead of an nsIChannel*) in mgRequest::Init. r=jrmuizel
This commit is contained in:
Родитель
15e8375cee
Коммит
382d5a98b3
|
@ -2204,7 +2204,7 @@ NS_IMETHODIMP imgCacheValidator::OnStartRequest(nsIRequest *aRequest, nsISupport
|
|||
// We use originalURI here to fulfil the imgIRequest contract on GetURI.
|
||||
nsCOMPtr<nsIURI> originalURI;
|
||||
channel->GetOriginalURI(getter_AddRefs(originalURI));
|
||||
mNewRequest->Init(originalURI, uri, channel, channel, mNewEntry,
|
||||
mNewRequest->Init(originalURI, uri, aRequest, channel, mNewEntry,
|
||||
mContext, loadingPrincipal,
|
||||
corsmode);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче