Make the color filter layer use the paint specified by the framework. (flutter/engine#4782)
This commit is contained in:
@@ -19,7 +19,7 @@ void ColorFilterLayer::Paint(PaintContext& context) const {
|
|||||||
SkPaint paint;
|
SkPaint paint;
|
||||||
paint.setColorFilter(std::move(color_filter));
|
paint.setColorFilter(std::move(color_filter));
|
||||||
|
|
||||||
Layer::AutoSaveLayer(context, paint_bounds(), nullptr);
|
Layer::AutoSaveLayer(context, paint_bounds(), &paint);
|
||||||
PaintChildren(context);
|
PaintChildren(context);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user