Bug 1763698: Make NativeLayerCA only iterate the sublayers with an extent. r=mstange
commita7af9f83fce321b71ddf14143725ed4eb879c196
authorBrad Werth <bwerth@mozilla.com>
Tue, 12 Apr 2022 22:14:10 +0000 (12 22:14 +0000)
committerBrad Werth <bwerth@mozilla.com>
Tue, 12 Apr 2022 22:14:10 +0000 (12 22:14 +0000)
tree8517f99bf0051592a69c1b56ebd9185e1c78dda8
parent3955a9937875930663713e4f71fba28293b077f0
Bug 1763698: Make NativeLayerCA only iterate the sublayers with an extent. r=mstange

This additionally changes acceptProvidedSublayers to a C++ lambda function,
which keeps the compiler happy with iterating over the new nsTArray.

Differential Revision: https://phabricator.services.mozilla.com/D143220
gfx/layers/NativeLayerCA.h
gfx/layers/NativeLayerCA.mm