From 2745f0c65e78a5876803a30c3ccd112bad8af7ff Mon Sep 17 00:00:00 2001 From: Oleg Romashin Date: Tue, 12 Apr 2011 15:39:50 -0400 Subject: [PATCH] Bug 647462 - Video layer should not be ARGB by default; r=chris.double --- layout/generic/nsVideoFrame.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/layout/generic/nsVideoFrame.cpp b/layout/generic/nsVideoFrame.cpp index e82ed168606..ea936495f0e 100644 --- a/layout/generic/nsVideoFrame.cpp +++ b/layout/generic/nsVideoFrame.cpp @@ -276,6 +276,7 @@ nsVideoFrame::BuildLayer(nsDisplayListBuilder* aBuilder, layer->SetContainer(container); layer->SetFilter(nsLayoutUtils::GetGraphicsFilterForFrame(this)); + layer->SetContentFlags(Layer::CONTENT_OPAQUE); // Set a transform on the layer to draw the video in the right place gfxMatrix transform; transform.Translate(r.pos);