From 58428cf5315f4c9d9efa4f372d0ac016fb0343ca Mon Sep 17 00:00:00 2001 From: JW Wang Date: Mon, 19 Dec 2016 15:51:14 +0800 Subject: [PATCH] Bug 1324339. Part 6 - remove mIsAudioQueueFinished which is not set at all. r=kaku MozReview-Commit-ID: 6Ilvqigonga --HG-- extra : rebase_source : 3de29cc1480addbccb218df4029870da118e33b8 extra : intermediate-source : 2aad62c93f1a5779d74dca3d9de27e2d6438d40b extra : source : ce2e1387858bab2dc8a7e2a1afb517e49b0f55a8 --- dom/media/MediaDecoderStateMachine.cpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/dom/media/MediaDecoderStateMachine.cpp b/dom/media/MediaDecoderStateMachine.cpp index c64a9f62157e..9c573e29a979 100644 --- a/dom/media/MediaDecoderStateMachine.cpp +++ b/dom/media/MediaDecoderStateMachine.cpp @@ -1453,10 +1453,6 @@ private: void OnSeekTaskResolved() { - if (mIsAudioQueueFinished) { - AudioQueue().Finish(); - } - if (mIsVideoQueueFinished) { VideoQueue().Finish(); } @@ -1466,10 +1462,6 @@ private: void OnSeekTaskRejected(MediaResult aError) { - if (mIsAudioQueueFinished) { - AudioQueue().Finish(); - } - if (mIsVideoQueueFinished) { VideoQueue().Finish(); } @@ -1547,7 +1539,6 @@ private: /* * Information which are going to be returned to MDSM. */ - bool mIsAudioQueueFinished = false; bool mIsVideoQueueFinished = false; };