mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 913503 - Fix reversed if() condition to fix bustage.
This commit is contained in:
parent
0504c2e35a
commit
5b431ef375
@ -1207,15 +1207,15 @@ void nsDisplayList::PaintForFrame(nsDisplayListBuilder* aBuilder,
|
||||
bool temp = aBuilder->SetIsCompositingCheap(layerManager->IsCompositingCheap());
|
||||
LayerManager::EndTransactionFlags flags = LayerManager::END_DEFAULT;
|
||||
if (layerManager->NeedsWidgetInvalidation()) {
|
||||
if (aFlags & PAINT_NO_COMPOSITE) {
|
||||
flags = LayerManager::END_NO_COMPOSITE;
|
||||
}
|
||||
} else {
|
||||
// Client layer managers never composite directly, so
|
||||
// we don't need to worry about END_NO_COMPOSITE.
|
||||
if (aBuilder->WillComputePluginGeometry()) {
|
||||
flags = LayerManager::END_NO_REMOTE_COMPOSITE;
|
||||
}
|
||||
} else {
|
||||
if (aFlags & PAINT_NO_COMPOSITE) {
|
||||
flags = LayerManager::END_NO_COMPOSITE;
|
||||
}
|
||||
}
|
||||
|
||||
layerManager->EndTransaction(FrameLayerBuilder::DrawThebesLayer,
|
||||
|
Loading…
Reference in New Issue
Block a user