| Index: tests/GpuColorFilterTest.cpp
|
| diff --git a/tests/GpuColorFilterTest.cpp b/tests/GpuColorFilterTest.cpp
|
| index aeee3daf37860971fe4070d2e9f550024b8c3128..bf0ba3046a34b1c7f17af522043d6a3e11d3b314 100644
|
| --- a/tests/GpuColorFilterTest.cpp
|
| +++ b/tests/GpuColorFilterTest.cpp
|
| @@ -64,9 +64,9 @@ static void test_getConstantColorComponents(skiatest::Reporter* reporter, GrCont
|
| const GrColor gr_c1 = SkColor2GrColor(c1);
|
| const GrColor gr_c2 = SkColor2GrColor(c2);
|
|
|
| - const GrColor gr_black = GrColorPackRGBA(0, 0, 0, 0);
|
| - const GrColor gr_white = GrColorPackRGBA(255, 255, 255, 255);
|
| - const GrColor gr_whiteTrans = GrColorPackRGBA(128, 128, 128, 128);
|
| + const GrColor gr_black = GrColorPackA4(0);
|
| + const GrColor gr_white = GrColorPackA4(255);
|
| + const GrColor gr_whiteTrans = GrColorPackA4(128);
|
|
|
| GetConstantComponentTestCase filterTests[] = {
|
| // A color filtered with Clear produces black.
|
|
|