mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Fix null pointer dereference causing startup crash.
This commit is contained in:
parent
035ebbe87f
commit
eb26c9ae11
@ -259,6 +259,9 @@ CompositorParent::AsyncRender()
|
|||||||
}
|
}
|
||||||
|
|
||||||
Layer* root = mLayerManager->GetRoot();
|
Layer* root = mLayerManager->GetRoot();
|
||||||
|
if (!root) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
ContainerLayer* container = root->AsContainerLayer();
|
ContainerLayer* container = root->AsContainerLayer();
|
||||||
|
Loading…
Reference in New Issue
Block a user