Skip to content

Commit

Permalink
Bug 1195606 - Use channel->ascynOpen2 in security/manager/ssl/nsNSSCa…
Browse files Browse the repository at this point in the history
…llbacks.cpp (r=sicking)
  • Loading branch information
Christoph Kerschbaumer committed Aug 18, 2015
1 parent cd5171b commit 10a7d6a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions security/manager/ssl/nsNSSCallbacks.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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)) {
Expand Down

0 comments on commit 10a7d6a

Please sign in to comment.