[Paint Preview] Stricter enforcement of image size
Decoding an image can result in it becoming a bitmap. To ensure this doesn't negatively impact memory when decoding also apply the bitmap size enforcement to already encoded images. Bug: 1144768 Change-Id: I7fc36601e07fcafda65bc408f2563f0ec319dbf8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2547213Reviewed-by:Mehran Mahmoudi <mahmoudi@chromium.org> Commit-Queue: Calder Kitagawa <ckitagawa@chromium.org> Cr-Commit-Position: refs/heads/master@{#828977}
Showing
Please register or sign in to comment