[null-safety] fix types of layer code (flutter/engine#21959)

This commit is contained in:
Jonah Williams
2020-10-19 16:22:40 -07:00
committed by GitHub
parent 9af9295516
commit c796eb8294

View File

@@ -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.