diff --git a/lib/ui/compositing/scene_builder.cc b/lib/ui/compositing/scene_builder.cc index a8e3a29f85435..4c2659ffa1efe 100644 --- a/lib/ui/compositing/scene_builder.cc +++ b/lib/ui/compositing/scene_builder.cc @@ -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& 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( shader->shader(sampling), rect, static_cast(blend_mode));