commit | 49ce11ba14b044d98c3a44e3b2c19903fcdabaa5 | [log] [tgz] |
---|---|---|
author | scroggo@google.com <scroggo@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Thu Apr 25 18:29:32 2013 +0000 |
committer | scroggo@google.com <scroggo@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Thu Apr 25 18:29:32 2013 +0000 |
tree | cabbe8585a49d6a3b738ad52ea2582ab01899acc | |
parent | bb6b5baa969c7158a75dcf1ff9c1d566deb58fad [diff] |
Use SkError for a bitmap that could not be decoded. When recreating an SkPicture from an SkStream, use the new error reporting system to report that an SkBitmap could not be decoded. Add a test that the parse error is thrown. Review URL: https://codereview.chromium.org/13892009 git-svn-id: http://skia.googlecode.com/svn/trunk@8866 2bbb7eff-a529-9590-31e7-b0007b416f81