mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1213758 - Aquire the inderect layer trees data lock during plugin window update calculations. r=matt.woodrow
This commit is contained in:
parent
0b6ca3aea8
commit
3f2c2e7e20
@ -2057,7 +2057,13 @@ CrossProcessCompositorParent::ShadowLayersUpdated(
|
||||
bool
|
||||
CompositorParent::UpdatePluginWindowState(uint64_t aId)
|
||||
{
|
||||
MonitorAutoLock lock(*sIndirectLayerTreesLock);
|
||||
CompositorParent::LayerTreeState& lts = sIndirectLayerTrees[aId];
|
||||
if (!lts.mParent) {
|
||||
PLUGINS_LOG("[%" PRIu64 "] layer tree compositor parent pointer is null", aId);
|
||||
return false;
|
||||
}
|
||||
|
||||
// Check if this layer tree has received any shadow layer updates
|
||||
if (!lts.mUpdatedPluginDataAvailable) {
|
||||
PLUGINS_LOG("[%" PRIu64 "] no plugin data", aId);
|
||||
|
Loading…
Reference in New Issue
Block a user