Implement a threadsafe & revised version of http2PushedStream.

This re-applies the patch for this with added typename declaration.
This commit is contained in:
wolfbeast 2019-07-21 23:05:59 +02:00 • committed by Roy Tam
commit 8346f7c082
9 changed files with 145 additions and 32 deletions

View file

@ -28,8 +28,10 @@ class Http2Decompressor;
class Http2Stream
: public nsAHttpSegmentReader
, public nsAHttpSegmentWriter
, public SupportsWeakPtr<Http2Stream>
{
public:
MOZ_DECLARE_WEAKREFERENCE_TYPENAME(Http2Stream)
NS_DECL_NSAHTTPSEGMENTREADER
NS_DECL_NSAHTTPSEGMENTWRITER