From c80779a47933131ad467927581bc2455111eadef Mon Sep 17 00:00:00 2001 From: Michael Ludwig Date: Thu, 11 May 2023 15:51:48 -0400 Subject: [PATCH] Remove GN staging flag for save layer bounds (flutter/engine#41940) See skbug.com/12083, skbug.com/12303. SkCanvas::saveLayer() calls with an SkColorFilter that affects transparent black will now fill out to the bounds of the clip before the layer, which prevents leaking internal layer allocation decisions in the final rendering. [C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style --- engine/src/flutter/tools/gn | 2 -- 1 file changed, 2 deletions(-) diff --git a/engine/src/flutter/tools/gn b/engine/src/flutter/tools/gn index cbc33afdc0..92c8bd84d9 100755 --- a/engine/src/flutter/tools/gn +++ b/engine/src/flutter/tools/gn @@ -300,8 +300,6 @@ def to_gn_args(args): gn_args['skia_use_wuffs'] = True gn_args['skia_use_expat'] = args.target_os == 'android' gn_args['skia_use_fontconfig'] = args.enable_fontconfig - gn_args['skia_use_legacy_layer_bounds' - ] = True # Temporary: See skbug.com/12083, skbug.com/12303. gn_args['skia_use_icu'] = True gn_args['is_official_build'] = True # Disable Skia test utilities. gn_args['android_full_debug'