зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1733109 - passing result of std::move() as a const reference argument; no move will actually happen in MediaDecoder.cpp. r=bryce
Depends on D126930 Differential Revision: https://phabricator.services.mozilla.com/D126931
This commit is contained in:
Родитель
f71f67ea1e
Коммит
51242cd516
|
@ -1098,7 +1098,7 @@ void MediaDecoder::SetSecondaryVideoContainer(
|
|||
if (mSecondaryVideoContainer.Ref() == aSecondaryVideoContainer) {
|
||||
return;
|
||||
}
|
||||
mSecondaryVideoContainer = std::move(aSecondaryVideoContainer);
|
||||
mSecondaryVideoContainer = aSecondaryVideoContainer;
|
||||
UpdateVideoDecodeMode();
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче