| 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 4afc4eccf6a98e954a20b8cac88afdcc43958ea5..caf23d444a0c3b52856dba04924967c4b6c34948 100644
|
| --- a/cc/trees/layer_tree_host_pixeltest_filters.cc
|
| +++ b/cc/trees/layer_tree_host_pixeltest_filters.cc
|
| @@ -253,8 +253,9 @@ class ImageFilterClippedPixelTest : public LayerTreeHostFiltersPixelTest {
|
| 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(
|
| - SkColorFilterImageFilter::Create(colorFilter.get(), NULL, &crop_rect));
|
| + skia::RefPtr<SkImageFilter> filter =
|
| + skia::AdoptRef(SkColorFilterImageFilter::Create(
|
| + colorFilter.get(), nullptr, &crop_rect));
|
| FilterOperations filters;
|
| filters.Append(FilterOperation::CreateReferenceFilter(filter));
|
|
|
|
|