Index: tests/GpuColorFilterTest.cpp |
diff --git a/tests/GpuColorFilterTest.cpp b/tests/GpuColorFilterTest.cpp |
index 7e99063a1dba6ed34e00c108620595b311b15c6b..a99e91b8240a5a483d1971a09dc1fb59daf31464 100644 |
--- a/tests/GpuColorFilterTest.cpp |
+++ b/tests/GpuColorFilterTest.cpp |
@@ -62,8 +62,8 @@ static void test_getConstantColorComponents(skiatest::Reporter* reporter, GrCont |
const SkColor c1 = SkColorSetARGB(200, 200, 200, 200); |
const SkColor c2 = SkColorSetARGB(60, 60, 60, 60); |
- const GrColor gr_c1 = SkColor2GrColor(c1); |
- const GrColor gr_c2 = SkColor2GrColor(c2); |
+ const GrColor gr_c1 = SkColorToPremulGrColor(c1); |
+ const GrColor gr_c2 = SkColorToPremulGrColor(c2); |
const GrColor gr_black = GrColorPackA4(0); |
const GrColor gr_white = GrColorPackA4(255); |