Revert "Revert "change computeByteSize to return max_size_t on overflow""

This reverts commit 384f0a7d6626026f21313e85e51890d747171ee8.

Bug: skia:
Change-Id: I392ef5c1a5172181caf81ae270befeba6e778241
Reviewed-on: https://skia-review.googlesource.com/57084
Commit-Queue: Mike Reed <reed@google.com>
Commit-Queue: Ben Wagner <bungeman@google.com>
Reviewed-by: Ben Wagner <bungeman@google.com>
4 files changed