Bug 1321497 - correct the logic of resuming from AudioChannel; r=alwu,jwwang

MozReview-Commit-ID: JxeqdzADlrU
This commit is contained in:
Kaku Kuo
2016-12-01 16:30:18 +08:00
parent 6b91b59cf0
commit ad9fdaf9ff

View File

@@ -792,7 +792,7 @@ private:
void
Resume()
{
if (!IsSuspended() && mOwner->Paused()) {
if (!IsSuspended()) {
MOZ_LOG(AudioChannelService::GetAudioChannelLog(), LogLevel::Debug,
("HTMLMediaElement::AudioChannelAgentCallback, ResumeFromAudioChannel, "
"this = %p, Error : resume without suspended!\n", this));