Bug 1763698: Make NativeLayerCA only iterate the sublayers with an extent. r=mstange
commit355dc69516a0c92d59808ebca43608bee4baf4c6
authorBrad Werth <bwerth@mozilla.com>
Tue, 10 May 2022 21:12:00 +0000 (10 21:12 +0000)
committerBrad Werth <bwerth@mozilla.com>
Tue, 10 May 2022 21:12:00 +0000 (10 21:12 +0000)
treee836f375325cb379ffc067ad73fdb64d54d54a14
parent63e62ea6a32da3f9fd7d4b002f5d9759cb136de8
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