diff options
Diffstat (limited to 'dom/media/mediasource/SourceBuffer.cpp')
-rw-r--r-- | dom/media/mediasource/SourceBuffer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dom/media/mediasource/SourceBuffer.cpp b/dom/media/mediasource/SourceBuffer.cpp index 26ea937077..0bdfbfcf23 100644 --- a/dom/media/mediasource/SourceBuffer.cpp +++ b/dom/media/mediasource/SourceBuffer.cpp @@ -281,7 +281,7 @@ SourceBuffer::Detach() if (mTrackBuffersManager) { mTrackBuffersManager->Detach(); mMediaSource->GetDecoder()->GetDemuxer()->DetachSourceBuffer( - mTrackBuffersManager.get()); + mTrackBuffersManager); } mTrackBuffersManager = nullptr; mMediaSource = nullptr; @@ -321,7 +321,7 @@ SourceBuffer::SourceBuffer(MediaSource* aMediaSource, const nsACString& aType) SetMode(SourceBufferAppendMode::Segments, dummy); } mMediaSource->GetDecoder()->GetDemuxer()->AttachSourceBuffer( - mTrackBuffersManager.get()); + mTrackBuffersManager); } SourceBuffer::~SourceBuffer() |