diff --git a/dom/media/MediaDecoderStateMachine.cpp b/dom/media/MediaDecoderStateMachine.cpp index 91d0514aa1d5..edd851379297 100644 --- a/dom/media/MediaDecoderStateMachine.cpp +++ b/dom/media/MediaDecoderStateMachine.cpp @@ -2322,8 +2322,6 @@ MediaDecoderStateMachine::FinishDecodeFirstFrame() mReader->ReadUpdatedMetadata(&mInfo); } - nsAutoPtr info(new MediaInfo()); - *info = mInfo; if (!mNotifyMetadataBeforeFirstFrame) { // If we didn't have duration and/or start time before, we should now. EnqueueLoadedMetadataEvent();