From 636edf7eb964789c8ff8a203195ed7adc3b173e2 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 97524008b68..6d2148d3193 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; } };