From 8616bb2544b8504949a61d123d8cd130b0d8ce25 Mon Sep 17 00:00:00 2001 From: Matt Sarett Date: Thu, 9 Feb 2017 18:35:14 -0500 Subject: [PATCH] Fix CopyPixels() bug BUG=skia: Change-Id: I102fa9f4b16caa1c00602af1a89a0a0372e047b2 Reviewed-on: https://skia-review.googlesource.com/8303 Reviewed-by: Matt Sarett Reviewed-by: Mike Klein Commit-Queue: Matt Sarett --- src/core/SkConfig8888.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/SkConfig8888.cpp b/src/core/SkConfig8888.cpp index 59360e2..c1cd16a 100644 --- a/src/core/SkConfig8888.cpp +++ b/src/core/SkConfig8888.cpp @@ -328,7 +328,7 @@ bool SkPixelInfo::CopyPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t // Try the pipeline // - if (copy_pipeline_pixels(dstInfo, dstPixels, dstRB, srcInfo, srcPixels, srcRB, ctable)) { + if (copy_pipeline_pixels(dstInfo, dstPixels, dstRB, srcInfo, srcPixels, srcRB, isColorAware)) { return true; } -- 2.7.4