| Index: tests/GpuColorFilterTest.cpp
|
| diff --git a/tests/GpuColorFilterTest.cpp b/tests/GpuColorFilterTest.cpp
|
| index cdb5ef3cdd07463c234102a575392bc6311bf51f..e1850f91d900119d591d3adbceec4143708d2916 100644
|
| --- a/tests/GpuColorFilterTest.cpp
|
| +++ b/tests/GpuColorFilterTest.cpp
|
| @@ -98,10 +98,10 @@ 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));
|
| - SkAutoTUnref<GrEffectRef> grEffect(cf->asNewEffect(grContext));
|
| + SkAutoTUnref<GrEffect> effect(cf->asNewEffect(grContext));
|
| GrColor color = test.inputColor;
|
| uint32_t components = test.inputComponents;
|
| - grEffect->getConstantColorComponents(&color, &components);
|
| + effect->getConstantColorComponents(&color, &components);
|
|
|
| REPORTER_ASSERT(reporter, filterColor(color, components) == test.outputColor);
|
| REPORTER_ASSERT(reporter, test.outputComponents == components);
|
|
|