| Index: cc/output/render_surface_filters.cc
|
| diff --git a/cc/output/render_surface_filters.cc b/cc/output/render_surface_filters.cc
|
| index 337d48c20faaa4a20f410ed36de0656b5fd9113e..de3c7fc7ec43dbd9e83bf263e2144d2a437b0a04 100644
|
| --- a/cc/output/render_surface_filters.cc
|
| +++ b/cc/output/render_surface_filters.cc
|
| @@ -148,8 +148,8 @@ void GetSepiaMatrix(float amount, SkScalar matrix[20]) {
|
| skia::RefPtr<SkImageFilter> CreateMatrixImageFilter(
|
| const SkScalar matrix[20],
|
| const skia::RefPtr<SkImageFilter>& input) {
|
| - skia::RefPtr<SkColorFilter> color_filter =
|
| - skia::AdoptRef(SkColorMatrixFilter::Create(matrix));
|
| + sk_sp<SkColorFilter> color_filter =
|
| + SkColorFilter::MakeMatrixFilterRowMajor255(matrix);
|
| return skia::AdoptRef(
|
| SkColorFilterImageFilter::Create(color_filter.get(), input.get()));
|
| }
|
|
|