
The change https://crrev.com/c/2368484 introduced bitmap limits while deserializing the bitmap data in mojom transfer. This regressed large bitmap transfers b/n the processes which used to work before (Ex: Navigator.clipboard.write) The limits were chosen arbitrarily to validate that the image isn't incredibly large due to any programming error, but 32k is not a fair limit. Increase the limit to 64k which can accommodate images from the largest possible canvas(64k is the canvas max possible dimension) Bug: 1142852 Change-Id: I7c6b32d8ac8549b9053178d477e7c7610add3f3f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2504012 Reviewed-by: Greg Kerr <kerrnel@chromium.org> Reviewed-by: James Cook <jamescook@chromium.org> Reviewed-by: Ken Rockot <rockot@google.com> Reviewed-by: Mike Klein <mtklein@google.com> Commit-Queue: Akhila Veerapuraju <dhveerap@microsoft.com> Cr-Commit-Position: refs/heads/master@{#821750}