Index: tests/GpuColorFilterTest.cpp |
diff --git a/tests/GpuColorFilterTest.cpp b/tests/GpuColorFilterTest.cpp |
index 5ecc62375657a9e08c67e90b8a020e5a352ee818..7e99063a1dba6ed34e00c108620595b311b15c6b 100644 |
--- a/tests/GpuColorFilterTest.cpp |
+++ b/tests/GpuColorFilterTest.cpp |
@@ -101,7 +101,7 @@ static void test_getConstantColorComponents(skiatest::Reporter* reporter, GrCont |
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)); |
- SkTDArray<GrFragmentProcessor*> array; |
+ SkTDArray<const GrFragmentProcessor*> array; |
bool hasFrag = cf->asFragmentProcessors(grContext, paint.getProcessorDataManager(), &array); |
REPORTER_ASSERT(reporter, hasFrag); |
REPORTER_ASSERT(reporter, 1 == array.count()); |