mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1195606
- Use channel->ascynOpen2 in security/manager/ssl/nsNSSCallbacks.cpp (r=sicking)
This commit is contained in:
parent
9138f5e230
commit
301815979b
@ -90,7 +90,7 @@ nsHTTPDownloadEvent::Run()
|
||||
nullptr, // aLoadingNode
|
||||
nsContentUtils::GetSystemPrincipal(),
|
||||
nullptr, // aTriggeringPrincipal
|
||||
nsILoadInfo::SEC_NORMAL,
|
||||
nsILoadInfo::SEC_ALLOW_CROSS_ORIGIN_DATA_IS_NULL,
|
||||
nsIContentPolicy::TYPE_OTHER,
|
||||
getter_AddRefs(chan));
|
||||
NS_ENSURE_STATE(chan);
|
||||
@ -157,7 +157,7 @@ nsHTTPDownloadEvent::Run()
|
||||
|
||||
if (NS_SUCCEEDED(rv)) {
|
||||
mStartTime = TimeStamp::Now();
|
||||
rv = hchan->AsyncOpen(mListener->mLoader, nullptr);
|
||||
rv = hchan->AsyncOpen2(mListener->mLoader);
|
||||
}
|
||||
|
||||
if (NS_FAILED(rv)) {
|
||||
|
Loading…
Reference in New Issue
Block a user