Bug 1087442 - Attach LoadInfo inside each individual ProtocolHandler - image/ changes (r=seth)

This commit is contained in:
Christoph Kerschbaumer 2014-12-12 09:06:54 -08:00
parent 85302dc6bc
commit b3d1653ff6

View File

@ -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;
}