mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1157327 follow-up to add a comment. r=me and DONTBUILD
This commit is contained in:
parent
8ed2b0ac69
commit
d2f94245ec
@ -266,6 +266,8 @@ ContainerPrepare(ContainerT* aContainer,
|
||||
RenderTargetIntRect clipRect = layerToRender->GetLayer()->
|
||||
CalculateScissorRect(aClipRect);
|
||||
|
||||
// We don't want to skip container layers because otherwise their mPrepared
|
||||
// may be null which is not allowed.
|
||||
if (!layerToRender->GetLayer()->AsContainerLayer()) {
|
||||
if (layerToRender->GetLayer()->GetEffectiveVisibleRegion().IsEmpty()) {
|
||||
CULLING_LOG("Sublayer %p has no effective visible region\n", layerToRender->GetLayer());
|
||||
|
Loading…
Reference in New Issue
Block a user