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