Revert "Implement a threadsafe & revised version of http2PushedStream."

Backed out because of gcc build failures.

This reverts commit 66fae1d81013a2321e7d607a426f834a01b847ce.
This commit is contained in:
wolfbeast 2019-07-21 21:30:26 +02:00 committed by Roy Tam
commit 6666e772e0
9 changed files with 32 additions and 144 deletions

View file

@ -7828,7 +7828,7 @@ nsHttpChannel::AwaitingCacheCallbacks()
}
void
nsHttpChannel::SetPushedStream(Http2PushedStreamWrapper *stream)
nsHttpChannel::SetPushedStream(Http2PushedStream *stream)
{
MOZ_ASSERT(stream);
MOZ_ASSERT(!mPushedStream);
@ -7836,7 +7836,7 @@ nsHttpChannel::SetPushedStream(Http2PushedStreamWrapper *stream)
}
nsresult
nsHttpChannel::OnPush(const nsACString &url, Http2PushedStreamWrapper *pushedStream)
nsHttpChannel::OnPush(const nsACString &url, Http2PushedStream *pushedStream)
{
MOZ_ASSERT(NS_IsMainThread());
LOG(("nsHttpChannel::OnPush [this=%p]\n", this));