Index: tests/GpuColorFilterTest.cpp |
diff --git a/tests/GpuColorFilterTest.cpp b/tests/GpuColorFilterTest.cpp |
index 830c7dfff3028f987dd8ea10e6ff0b4fed796579..714555a6260a890556d3844e50670b37bc8d13ad 100644 |
--- a/tests/GpuColorFilterTest.cpp |
+++ b/tests/GpuColorFilterTest.cpp |
@@ -99,8 +99,7 @@ |
GrPaint paint; |
for (size_t i = 0; i < SK_ARRAY_COUNT(filterTests); ++i) { |
const GetConstantComponentTestCase& test = filterTests[i]; |
- SkAutoTUnref<SkColorFilter> cf( |
- SkColorFilter::CreateModeFilter(test.filterColor, test.filterMode)); |
+ auto cf(SkColorFilter::MakeModeFilter(test.filterColor, test.filterMode)); |
SkAutoTUnref<const GrFragmentProcessor> fp( cf->asFragmentProcessor(context)); |
REPORTER_ASSERT(reporter, fp); |
GrInvariantOutput inout(test.inputColor, |