Index: tests/GpuColorFilterTest.cpp |
diff --git a/tests/GpuColorFilterTest.cpp b/tests/GpuColorFilterTest.cpp |
index 1788770e5b5510eb62a6d075a6876a784fc9e153..b18af18b1c225afead5ca0b931f7c4177395db03 100644 |
--- a/tests/GpuColorFilterTest.cpp |
+++ b/tests/GpuColorFilterTest.cpp |
@@ -99,7 +99,7 @@ DEF_GPUTEST_FOR_ALL_CONTEXTS(GpuColorFilter, reporter, ctxInfo) { |
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<const GrFragmentProcessor> fp( cf->asFragmentProcessor(ctxInfo.fGrContext)); |
+ SkAutoTUnref<const GrFragmentProcessor> fp( cf->asFragmentProcessor(ctxInfo.grContext())); |
REPORTER_ASSERT(reporter, fp); |
GrInvariantOutput inout(test.inputColor, |
static_cast<GrColorComponentFlags>(test.inputComponents), |