Bug 810302 - Force playing videos to always get an active layers. r=roc

This commit is contained in:
Matt Woodrow 2012-11-30 11:11:06 +13:00
parent 56ba57d515
commit 636edf7eb9

View File

@ -360,7 +360,7 @@ public:
}
nsHTMLMediaElement* elem =
static_cast<nsHTMLMediaElement*>(mFrame->GetContent());
return elem->IsPotentiallyPlaying() ? LAYER_ACTIVE : LAYER_INACTIVE;
return elem->IsPotentiallyPlaying() ? LAYER_ACTIVE_FORCE : LAYER_INACTIVE;
}
};