diff --git a/dom/media/MediaDecoder.cpp b/dom/media/MediaDecoder.cpp index 5413725e3bdd..f04a3b939f4e 100644 --- a/dom/media/MediaDecoder.cpp +++ b/dom/media/MediaDecoder.cpp @@ -1098,7 +1098,7 @@ void MediaDecoder::SetSecondaryVideoContainer( if (mSecondaryVideoContainer.Ref() == aSecondaryVideoContainer) { return; } - mSecondaryVideoContainer = std::move(aSecondaryVideoContainer); + mSecondaryVideoContainer = aSecondaryVideoContainer; UpdateVideoDecodeMode(); }