mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-27 07:34:20 +00:00
Bug 1087442 - Attach LoadInfo inside each individual ProtocolHandler - image/ changes (r=seth)
This commit is contained in:
parent
85302dc6bc
commit
b3d1653ff6
@ -96,6 +96,13 @@ nsIconProtocolHandler::NewChannel2(nsIURI* url,
|
||||
return rv;
|
||||
}
|
||||
|
||||
// set the loadInfo on the new channel
|
||||
rv = channel->SetLoadInfo(aLoadInfo);
|
||||
if (NS_FAILED(rv)) {
|
||||
NS_RELEASE(channel);
|
||||
return rv;
|
||||
}
|
||||
|
||||
*result = channel;
|
||||
return NS_OK;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user