| Index: cc/trees/layer_tree_host_pixeltest_filters.cc
|
| diff --git a/cc/trees/layer_tree_host_pixeltest_filters.cc b/cc/trees/layer_tree_host_pixeltest_filters.cc
|
| index 3d52efaedbb518b9cf4065800ac78313bc56e11f..2337611ab972d85c6e52934d5d7d501ffd67b7a6 100644
|
| --- a/cc/trees/layer_tree_host_pixeltest_filters.cc
|
| +++ b/cc/trees/layer_tree_host_pixeltest_filters.cc
|
| @@ -176,7 +176,7 @@ class ImageFilterClippedPixelTest : public LayerTreeHostFiltersPixelTest {
|
| // This filter does a red-blue swap, so the foreground becomes blue.
|
| matrix[2] = matrix[6] = matrix[10] = matrix[18] = SK_Scalar1;
|
| skia::RefPtr<SkColorFilter> colorFilter(
|
| - skia::AdoptRef(new SkColorMatrixFilter(matrix)));
|
| + skia::AdoptRef(SkColorMatrixFilter::Create(matrix)));
|
| // We filter only the bottom 200x100 pixels of the foreground.
|
| SkImageFilter::CropRect crop_rect(SkRect::MakeXYWH(0, 100, 200, 100));
|
| skia::RefPtr<SkImageFilter> filter = skia::AdoptRef(
|
|
|