commit | d9d0e601c4c45ec8f2fb1d148e68458d9baa4e24 | [log] [tgz] |
---|---|---|
author | glevin <glevin@chromium.org> | Wed Sep 24 14:17:21 2014 |
committer | Commit bot <commit-bot@chromium.org> | Wed Sep 24 14:17:31 2014 |
tree | 04248b7b69cbcc18f042f53683ef40098b783bce | |
parent | 6e9dc50aecf078d7826fe8e4611b2c238aab3f23 [diff] |
Handle large wallpaper decoding in utility process: Images over 32M pixels exceed IPC message limit size. In ChromeContentUtilityClient::DecodeImage(), cut image dimensions in half to minimize quality loss and allow decoded image to be returned via IPC message. BUG=366825 TEST=ChromeContentUtilityClientTest.DecodeImageSizeLimit; Set ChromeOS wallpaper using JPGs attached to bug Review URL: https://codereview.chromium.org/482163002 Cr-Commit-Position: refs/heads/master@{#296407}