commit | 613920b365e1171d7cc16b3ff6e0a0cfb4a4242e | [log] [tgz] |
---|---|---|
author | ckulakowski@opera.com <ckulakowski@opera.com> | Tue Sep 23 13:29:03 2014 |
committer | ckulakowski@opera.com <ckulakowski@opera.com> | Tue Sep 23 13:29:03 2014 |
tree | b3f54a204edf8ea8b162d40042e065c4d9560474 | |
parent | 1f8b88958384d93e9160b534519079a899c34c08 [diff] |
Don't crash when an image fails to decode. The code that extracts the image for the default frame from an animated bitmap should check that the image data is actually available. It is possible for decoding to fail for invalid frames, Blink should not crash when this happens. BUG=408026 Review URL: https://codereview.chromium.org/535823002 git-svn-id: svn://svn.chromium.org/blink/trunk@182496 bbb929c8-8fbe-4397-9dbb-9b2b20218538