Make the color filter layer use the paint specified by the framework. (flutter/engine#4782)

This commit is contained in:
Chinmay Garde 2018-03-13 15:44:13 -07:00 committed by GitHub
parent 3dcbbbb65e
commit 457de9145f

View File

@ -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);
}