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 6d2e1e3a69
commit a294f6e3de

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;
}
};