From f1f1162273b382db99f8609e5bbfff24f5594821 Mon Sep 17 00:00:00 2001 From: Mike Klein Date: Mon, 18 Dec 2017 14:07:31 -0500 Subject: remove append_from_srgb() It's now no different than append(from_srgb). Bug: skia:7419 Change-Id: I97c59b6987f033ec2f1859db40ca3056b87b370a Reviewed-on: https://skia-review.googlesource.com/86741 Reviewed-by: Brian Osman Commit-Queue: Mike Klein --- src/codec/SkWebpCodec.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/codec') diff --git a/src/codec/SkWebpCodec.cpp b/src/codec/SkWebpCodec.cpp index 2ff4681337..ca63349c0e 100644 --- a/src/codec/SkWebpCodec.cpp +++ b/src/codec/SkWebpCodec.cpp @@ -364,7 +364,7 @@ static void blend_line(SkColorType dstCT, void* dst, // Load the final dst. p.append(load_dst, &dst_ctx); if (needsSrgbToLinear) { - p.append_from_srgb(dstAt); + p.append(SkRasterPipeline::from_srgb); } if (kUnpremul_SkAlphaType == dstAt) { p.append(SkRasterPipeline::premul); @@ -376,7 +376,7 @@ static void blend_line(SkColorType dstCT, void* dst, pick_memory_stages(srcCT, &load_src, nullptr); p.append(load_src, &src_ctx); if (needsSrgbToLinear) { - p.append_from_srgb(kUnpremul_SkAlphaType); + p.append(SkRasterPipeline::from_srgb); } if (srcHasAlpha) { p.append(SkRasterPipeline::premul); -- cgit v1.2.3