mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 803826 - Assert the layer builder exists in DrawThebesLayer. r=mattwoodrow
If the layer builder is NULL, this function will cause a crash. The layer builder being NULL indicates a bug, so assert that it isn't.
This commit is contained in:
parent
d611c596a1
commit
dec9634e6a
@ -3110,6 +3110,7 @@ FrameLayerBuilder::DrawThebesLayer(ThebesLayer* aLayer,
|
||||
(aCallbackData);
|
||||
|
||||
FrameLayerBuilder *layerBuilder = aLayer->Manager()->GetLayerBuilder();
|
||||
NS_ASSERTION(layerBuilder, "Unexpectedly null layer builder!");
|
||||
|
||||
if (layerBuilder->CheckDOMModified())
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user