diff --git a/engine/src/flutter/flow/layers/color_filter_layer.cc b/engine/src/flutter/flow/layers/color_filter_layer.cc index c1d526a92f2..6b1330eb405 100644 --- a/engine/src/flutter/flow/layers/color_filter_layer.cc +++ b/engine/src/flutter/flow/layers/color_filter_layer.cc @@ -19,7 +19,7 @@ void ColorFilterLayer::Paint(PaintContext& context) const { SkPaint paint; paint.setColorFilter(std::move(color_filter)); - Layer::AutoSaveLayer(context, paint_bounds(), nullptr); + Layer::AutoSaveLayer(context, paint_bounds(), &paint); PaintChildren(context); }