blink: Fix DCHECK failure in base::bits::IsPowerOfTwo
This CL fixes a false assumption that both the horizontal and vertical sampling factors are powers of two in jpeg_image_decoder.cc when attempting to calculate the coded size of a jpeg in JPEGImageDecoder::MakeMetadataForDecodeAcceleration. Bug: 1016214 Change-Id: I687e5b9cd428abe507e22ba9d753a17b255436e1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1872639 Commit-Queue: Gil Dekel <gildekel@chromium.org> Reviewed-by:Khushal <khushalsagar@chromium.org> Reviewed-by:
Sunny Sachanandani <sunnyps@chromium.org> Reviewed-by:
Leon Scroggins <scroggo@chromium.org> Reviewed-by:
Andres Calderon Jaramillo <andrescj@chromium.org> Cr-Commit-Position: refs/heads/master@{#712187}
Showing
Please register or sign in to comment