From c796eb829462f95eb2023aa967d26a34e9158374 Mon Sep 17 00:00:00 2001 From: Jonah Williams Date: Mon, 19 Oct 2020 16:22:40 -0700 Subject: [PATCH] [null-safety] fix types of layer code (flutter/engine#21959) --- engine/src/flutter/lib/ui/compositing.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/engine/src/flutter/lib/ui/compositing.dart b/engine/src/flutter/lib/ui/compositing.dart index f484f0e53c..d29e5f1a8e 100644 --- a/engine/src/flutter/lib/ui/compositing.dart +++ b/engine/src/flutter/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.