Bug 964517 - Do not pretend a layer is opaque if it really is transparent. r=roc

This commit is contained in:
Botond Ballo 2014-02-09 00:28:04 -05:00
parent f403c5b4c5
commit 94ef4482f9

View File

@ -1217,8 +1217,7 @@ void nsDisplayList::PaintForFrame(nsDisplayListBuilder* aBuilder,
if (usingDisplayport &&
!(root->GetContentFlags() & Layer::CONTENT_OPAQUE)) {
// See bug 693938, attachment 567017
NS_WARNING("We don't support transparent content with displayports, force it to be opqaue");
root->SetContentFlags(Layer::CONTENT_OPAQUE);
NS_WARNING("Transparent content with displayports can be expensive.");
}
layerManager->SetRoot(root);