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:
Thomas Zimmermann 2014-02-27 10:18:34 +01:00
parent 48fe549a4e
commit 0d41c050a4
2 changed files with 1 additions and 2 deletions

View File

@ -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

View File

@ -22,7 +22,6 @@ namespace net {
// will be created internally by RtspMediaResource."
class RtspChannel : public nsBaseChannel
, public nsIStreamListener
{
public:
NS_DECL_ISUPPORTS