[Impeller] Update docstring on layer.presentsWithTransaction (flutter/engine#44782)

This got missed when setting this to always be `YES`.
This commit is contained in:
Dan Field
2023-08-16 15:01:30 -07:00
committed by GitHub
parent 1278a933a7
commit 3020e19c19

View File

@@ -58,7 +58,7 @@ GPUCAMetalLayerHandle IOSSurfaceMetalImpeller::GetCAMetalLayer(const SkISize& fr
// When there are platform views in the scene, the drawable needs to be presented in the same
// transaction as the one created for platform views. When the drawable are being presented from
// the raster thread, there is no such transaction.
// the raster thread, participate with the implicit CA transaction.
layer.presentsWithTransaction = YES;
return layer;