Bug 647462 - Video layer should not be ARGB by default; r=chris.double

This commit is contained in:
Oleg Romashin 2011-04-12 15:39:50 -04:00
parent 8913455167
commit fee82d5cf6

View File

@ -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);