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
This commit is contained in:
bsalomon@google.com 2011-12-08 15:03:28 +00:00
parent 086e5354fe
commit 5194e1507d

View File

@ -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;