diff options
Diffstat (limited to 'tests/SRGBTest.cpp')
-rw-r--r-- | tests/SRGBTest.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/SRGBTest.cpp b/tests/SRGBTest.cpp index 1db9eb306f..cda6fc410a 100644 --- a/tests/SRGBTest.cpp +++ b/tests/SRGBTest.cpp @@ -71,8 +71,9 @@ DEF_TEST(sk_pipeline_srgb_edge_cases, r) { SkJumper_MemoryCtx dst = { &color, 0 }; - SkRasterPipeline_<256> p; - p.append(SkRasterPipeline::uniform_color, &color); + SkSTArenaAlloc<256> alloc; + SkRasterPipeline p(&alloc); + p.append_constant_color(&alloc, color); p.append(SkRasterPipeline::to_srgb); p.append(SkRasterPipeline::store_f32, &dst); p.run(0,0,4,1); |