mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-15 14:25:52 +00:00
Bug 970271: Fix inaccessible base class nsIStreamListener, r=jduell.mcbugs
GCC warns about an inaccessible base class nsIStreamListener in class RtspChannel. Using protected inheritance in nsBaseChannel fixes this.
This commit is contained in:
parent
48fe549a4e
commit
0d41c050a4
@ -44,7 +44,7 @@ class nsBaseChannel : public nsHashPropertyBag
|
||||
, public nsITransportEventSink
|
||||
, public nsIAsyncVerifyRedirectCallback
|
||||
, public mozilla::net::PrivateBrowsingChannel<nsBaseChannel>
|
||||
, private nsIStreamListener
|
||||
, protected nsIStreamListener
|
||||
{
|
||||
public:
|
||||
NS_DECL_ISUPPORTS_INHERITED
|
||||
|
@ -22,7 +22,6 @@ namespace net {
|
||||
// will be created internally by RtspMediaResource."
|
||||
|
||||
class RtspChannel : public nsBaseChannel
|
||||
, public nsIStreamListener
|
||||
{
|
||||
public:
|
||||
NS_DECL_ISUPPORTS
|
||||
|
Loading…
Reference in New Issue
Block a user