From ec14be8b7378569b30f46fc79c2d7e19080184e3 Mon Sep 17 00:00:00 2001 From: Michael Ludwig Date: Thu, 11 May 2023 09:12:48 -0400 Subject: [PATCH] Remove GN staging flag for save layer bounds 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. --- tools/gn | 2 -- 1 file changed, 2 deletions(-) diff --git a/tools/gn b/tools/gn index cbc33afdc0bd1..92c8bd84d9e60 100755 --- a/tools/gn +++ b/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'