From 20b6745dc121d9036163ca2510e5a37f902c37be Mon Sep 17 00:00:00 2001 From: jonahwilliams Date: Sun, 18 Oct 2020 09:49:09 -0700 Subject: [PATCH] [null-safety] fix types of layer code --- lib/ui/compositing.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ui/compositing.dart b/lib/ui/compositing.dart index f484f0e53c521..d29e5f1a8e57d 100644 --- a/lib/ui/compositing.dart +++ b/lib/ui/compositing.dart @@ -538,7 +538,7 @@ class SceneBuilder extends NativeFieldWrapperClass2 { return layer; } - EngineLayer _pushShaderMask( + void _pushShaderMask( EngineLayer engineLayer, Shader shader, double maskRectLeft, @@ -587,7 +587,7 @@ class SceneBuilder extends NativeFieldWrapperClass2 { return layer; } - EngineLayer _pushPhysicalShape(EngineLayer outEngineLayer, Path path, double elevation, int color, int shadowColor, + void _pushPhysicalShape(EngineLayer outEngineLayer, Path path, double elevation, int color, int shadowColor, int clipBehavior) native 'SceneBuilder_pushPhysicalShape'; /// Ends the effect of the most recently pushed operation.