diff options
Diffstat (limited to 'src/core/SkConfig8888.h')
-rw-r--r-- | src/core/SkConfig8888.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/SkConfig8888.h b/src/core/SkConfig8888.h index 8a666e73f9..5e25f6db2f 100644 --- a/src/core/SkConfig8888.h +++ b/src/core/SkConfig8888.h @@ -150,7 +150,8 @@ inline void config8888_copy_to_bitmap(const SkBitmap& dstBmp, g = SkMulDiv255Ceiling(g, a); b = SkMulDiv255Ceiling(b, a); } - dstRow[x] = SkPackARGB32(a, r, g, b); + // NoCheck: https://bugs.webkit.org/show_bug.cgi?id=74025 + dstRow[x] = SkPackARGB32NoCheck(a, r, g, b); } src += srcRowBytes; dst += dstRowBytes; |