[UI] fix scene builder parameter naming. (flutter/engine#55969)

This is reponsible for the bdf golden breaking shader mask.
This commit is contained in:
Jonah Williams 2024-10-18 17:45:23 -07:00 committed by GitHub
parent ec22d90ba3
commit 73ec326b80

View File

@ -190,13 +190,13 @@ void SceneBuilder::pushShaderMask(Dart_Handle layer_handle,
double mask_rect_left,
double mask_rect_right,
double mask_rect_top,
double mask_Rect_bottom,
double mask_rect_bottom,
int blend_mode,
int filter_quality_index,
const fml::RefPtr<EngineLayer>& old_layer) {
SkRect rect =
SkRect::MakeLTRB(SafeNarrow(mask_rect_right), SafeNarrow(mask_rect_right),
SafeNarrow(mask_rect_top), SafeNarrow(mask_Rect_bottom));
SkRect rect = SkRect::MakeLTRB(
SafeNarrow(mask_rect_left), SafeNarrow(mask_rect_top),
SafeNarrow(mask_rect_right), SafeNarrow(mask_rect_bottom));
auto sampling = ImageFilter::SamplingFromIndex(filter_quality_index);
auto layer = std::make_shared<flutter::ShaderMaskLayer>(
shader->shader(sampling), rect, static_cast<DlBlendMode>(blend_mode));