Bug 1252341 - No need to reset mReader in ~MediaDecoderStateMachine() because the destructor will do that. r=bechen.

MozReview-Commit-ID: AmFsE95Ai9A
This commit is contained in:
JW Wang 2016-03-01 10:47:36 +08:00
parent 21c1d3f8b1
commit a9fcc51c53

View File

@ -326,8 +326,6 @@ MediaDecoderStateMachine::~MediaDecoderStateMachine()
MOZ_ASSERT(NS_IsMainThread(), "Should be on main thread.");
MOZ_COUNT_DTOR(MediaDecoderStateMachine);
mReader = nullptr;
#ifdef XP_WIN
timeEndPeriod(1);
#endif