diff options
author | 2011-12-08 15:03:28 +0000 | |
---|---|---|
committer | 2011-12-08 15:03:28 +0000 | |
commit | 5194e1507dbf77fb6a6feb731c6e19571faee452 (patch) | |
tree | e13db417966831467132653a18622d223545e69e | |
parent | 086e5354fe7ae60e69c42bdfbc3d03bd8559b44f (diff) |
Don't verify PMA in writePixels
Review URL: http://codereview.appspot.com/5454043/
git-svn-id: http://skia.googlecode.com/svn/trunk@2828 2bbb7eff-a529-9590-31e7-b0007b416f81
-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; |