Bug 1240423 - part5 : stop_disposable should reset mSuspendState. r=baku

MozReview-Commit-ID: 1x1QdvJEw8J
This commit is contained in:
Alastor Wu
2016-06-01 10:26:20 +08:00
parent 540e60ec11
commit db31adbf78

View File

@@ -5103,6 +5103,7 @@ HTMLMediaElement::WindowSuspendChanged(SuspendTypes aSuspend)
BlockByAudioChannel();
break;
case nsISuspendedTypes::SUSPENDED_STOP_DISPOSABLE:
SetAudioChannelSuspended(nsISuspendedTypes::NONE_SUSPENDED);
Pause();
break;
default: