Skip to content

Commit

Permalink
Make the color filter layer use the paint specified by the framework. (
Browse files Browse the repository at this point in the history
  • Loading branch information
chinmaygarde authored Mar 13, 2018
1 parent d042b3e commit ff1a830
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flow/layers/color_filter_layer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit ff1a830

Please sign in to comment.