From a294f6e3dece10ab74c29cbd29156969a874e179 Mon Sep 17 00:00:00 2001 From: Matt Woodrow Date: Fri, 30 Nov 2012 11:11:06 +1300 Subject: [PATCH] Bug 810302 - Force playing videos to always get an active layers. r=roc --- layout/generic/nsVideoFrame.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layout/generic/nsVideoFrame.cpp b/layout/generic/nsVideoFrame.cpp index 97524008b688..6d2148d31931 100644 --- a/layout/generic/nsVideoFrame.cpp +++ b/layout/generic/nsVideoFrame.cpp @@ -360,7 +360,7 @@ public: } nsHTMLMediaElement* elem = static_cast(mFrame->GetContent()); - return elem->IsPotentiallyPlaying() ? LAYER_ACTIVE : LAYER_INACTIVE; + return elem->IsPotentiallyPlaying() ? LAYER_ACTIVE_FORCE : LAYER_INACTIVE; } };