| Index: gm/localmatriximagefilter.cpp
|
| diff --git a/gm/localmatriximagefilter.cpp b/gm/localmatriximagefilter.cpp
|
| index 1bdc940d925d5f452b690ddb6c7855e18c2a1d4f..64ed6d7b8c9c3bdf43d210b7282ad7d6fe1a4c49 100644
|
| --- a/gm/localmatriximagefilter.cpp
|
| +++ b/gm/localmatriximagefilter.cpp
|
| @@ -86,8 +86,7 @@ protected:
|
| canvas->save();
|
| show_image(canvas, image0, filter);
|
| for (const auto& matrix : matrices) {
|
| - SkAutoTUnref<SkImageFilter> localFilter(
|
| - SkImageFilter::CreateLocalMatrixFilter(matrix, filter));
|
| + SkAutoTUnref<SkImageFilter> localFilter(filter->newWithLocalMatrix(matrix));
|
| canvas->translate(spacer, 0);
|
| show_image(canvas, image0, localFilter);
|
| }
|
|
|