Bug 1790146 - part2 : remove redundant mVideoFrameContainer which already exists in the base class. r=jolin

Differential Revision: https://phabricator.services.mozilla.com/D162158
This commit is contained in:
alwu 2022-11-21 18:23:30 +00:00
parent d69ddbfc5f
commit 191c61f16c
2 changed files with 1 additions and 4 deletions

View File

@ -108,8 +108,7 @@ void ExternalEngineStateMachine::ChangeStateTo(State aNextState) {
ExternalEngineStateMachine::ExternalEngineStateMachine(
MediaDecoder* aDecoder, MediaFormatReader* aReader)
: MediaDecoderStateMachineBase(aDecoder, aReader),
mVideoFrameContainer(aDecoder->GetVideoFrameContainer()) {
: MediaDecoderStateMachineBase(aDecoder, aReader) {
LOG("Created ExternalEngineStateMachine");
MOZ_ASSERT(mState.IsInitEngine());
#ifdef MOZ_WMF_MEDIA_ENGINE

View File

@ -268,8 +268,6 @@ class ExternalEngineStateMachine final
bool mHasEnoughVideo = false;
bool mSentPlaybackEndedEvent = false;
bool mHasReceivedFirstDecodedVideoFrame = false;
const RefPtr<VideoFrameContainer> mVideoFrameContainer;
};
class ExternalPlaybackEngine {