Bug 1321497 - correct the logic of resuming from AudioChannel; r=alwu,jwwang
MozReview-Commit-ID: JxeqdzADlrU
This commit is contained in:
@@ -792,7 +792,7 @@ private:
|
|||||||
void
|
void
|
||||||
Resume()
|
Resume()
|
||||||
{
|
{
|
||||||
if (!IsSuspended() && mOwner->Paused()) {
|
if (!IsSuspended()) {
|
||||||
MOZ_LOG(AudioChannelService::GetAudioChannelLog(), LogLevel::Debug,
|
MOZ_LOG(AudioChannelService::GetAudioChannelLog(), LogLevel::Debug,
|
||||||
("HTMLMediaElement::AudioChannelAgentCallback, ResumeFromAudioChannel, "
|
("HTMLMediaElement::AudioChannelAgentCallback, ResumeFromAudioChannel, "
|
||||||
"this = %p, Error : resume without suspended!\n", this));
|
"this = %p, Error : resume without suspended!\n", this));
|
||||||
|
|||||||
Reference in New Issue
Block a user