mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 770096 - Prevent crashes when encountering an empty ThebesLayer. r=roc
This commit is contained in:
parent
1f0c50c269
commit
7798b353c1
@ -2630,6 +2630,10 @@ FrameLayerBuilder::DrawThebesLayer(ThebesLayer* aLayer,
|
||||
// so 'entry' could become invalid.
|
||||
}
|
||||
|
||||
if (!containerLayerFrame) {
|
||||
return;
|
||||
}
|
||||
|
||||
ThebesDisplayItemLayerUserData* userData =
|
||||
static_cast<ThebesDisplayItemLayerUserData*>
|
||||
(aLayer->GetUserData(&gThebesDisplayItemLayerUserData));
|
||||
|
Loading…
Reference in New Issue
Block a user