Index: tests/GpuColorFilterTest.cpp |
diff --git a/tests/GpuColorFilterTest.cpp b/tests/GpuColorFilterTest.cpp |
index c707380d55160df35fa3d1b30bbcbb68e36de191..650e6eefa661dcfa3aa4fcab1d151a24864c361d 100644 |
--- a/tests/GpuColorFilterTest.cpp |
+++ b/tests/GpuColorFilterTest.cpp |
@@ -102,7 +102,7 @@ static void test_getConstantColorComponents(skiatest::Reporter* reporter, GrCont |
const GetConstantComponentTestCase& test = filterTests[i]; |
SkAutoTUnref<SkColorFilter> cf( |
SkColorFilter::CreateModeFilter(test.filterColor, test.filterMode)); |
- SkAutoTUnref<const GrFragmentProcessor> fp( cf->asFragmentProcessor(grContext)); |
+ SkAutoTUnref<const GrFragmentProcessor> fp(cf->asFragmentProcessor(grContext, NULL)); |
REPORTER_ASSERT(reporter, fp); |
GrInvariantOutput inout(test.inputColor, |
static_cast<GrColorComponentFlags>(test.inputComponents), |