Disallow readPixels() conversions from untagged srcs to tagged dsts
authorMatt Sarett <msarett@google.com>
Tue, 17 Jan 2017 20:54:24 +0000 (15:54 -0500)
committerSkia Commit-Bot <skia-commit-bot@chromium.org>
Wed, 18 Jan 2017 18:07:37 +0000 (18:07 +0000)
commitccfd1083a7b9d546735ddd1037f3240635cce72d
tree4af6456a0492cfed66c13c1c1e9d818445c066ed
parent0831f1b5f112f4e95532695dd701676f734cde54
Disallow readPixels() conversions from untagged srcs to tagged dsts

This might break the roll into Chrome.  But let's see how.

BUG=skia:6021

Change-Id: I2698b5d6fe72d01bed0dc64703b592a03d441a80
Reviewed-on: https://skia-review.googlesource.com/7127
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Matt Sarett <msarett@google.com>
src/core/SkImageInfoPriv.h
tests/ImageTest.cpp