mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1099296 - Attach LoadInfo to remaining callers of ioService and ProtocolHandlers - in docshell/ (r=sicking)
This commit is contained in:
parent
adf9417bff
commit
af75181528
@ -590,7 +590,16 @@ SendPing(void* aClosure, nsIContent* aContent, nsIURI* aURI,
|
||||
nsIDocument* doc = aContent->OwnerDoc();
|
||||
|
||||
nsCOMPtr<nsIChannel> chan;
|
||||
aIOService->NewChannelFromURI(aURI, getter_AddRefs(chan));
|
||||
NS_NewChannel(getter_AddRefs(chan),
|
||||
aURI,
|
||||
doc,
|
||||
nsILoadInfo::SEC_NORMAL,
|
||||
nsIContentPolicy::TYPE_PING,
|
||||
nullptr, // aLoadGroup
|
||||
nullptr, // aCallbacks
|
||||
nsIRequest::LOAD_NORMAL, // aLoadFlags,
|
||||
aIOService);
|
||||
|
||||
if (!chan) {
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user