зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1028143 - Privatizing public destructor of MediaPipeline. r=jesup
This commit is contained in:
Родитель
65e14944dd
Коммит
ca1968ae3e
|
@ -68,14 +68,6 @@ class PeerIdentity;
|
|||
// For a receiving conduit, "input" is RTP and "output" is RTCP.
|
||||
//
|
||||
|
||||
class MediaPipeline;
|
||||
|
||||
template<>
|
||||
struct HasDangerousPublicDestructor<MediaPipeline>
|
||||
{
|
||||
static const bool value = true;
|
||||
};
|
||||
|
||||
class MediaPipeline : public sigslot::has_slots<> {
|
||||
public:
|
||||
enum Direction { TRANSMIT, RECEIVE };
|
||||
|
@ -117,8 +109,6 @@ class MediaPipeline : public sigslot::has_slots<> {
|
|||
transport_ = new PipelineTransport(this);
|
||||
}
|
||||
|
||||
virtual ~MediaPipeline();
|
||||
|
||||
// Must be called on the STS thread. Must be called after ShutdownMedia_m().
|
||||
void ShutdownTransport_s();
|
||||
|
||||
|
@ -172,6 +162,7 @@ class MediaPipeline : public sigslot::has_slots<> {
|
|||
} RtpType;
|
||||
|
||||
protected:
|
||||
virtual ~MediaPipeline();
|
||||
virtual void DetachMediaStream() {}
|
||||
|
||||
// Separate class to allow ref counting
|
||||
|
|
Загрузка…
Ссылка в новой задаче