commit | 982fff264d12d3227edd30bc7378826d2dc3f909 | [log] [tgz] |
---|---|---|
author | Leon Scroggins III <scroggo@google.com> | Fri Jul 31 14:09:06 2020 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Fri Jul 31 19:21:04 2020 +0000 |
tree | 7cf818117059a0f6814ebb14c9a7a3fc866b0029 | |
parent | 577536aa1a6b31f30cab76a89b4c7b06353a589b [diff] [blame] |
Remove "sanity"/"insane" to comply with Android's inclusive language guidance See https://source.android.com/setup/contribute/respectful-code for reference Bug: 162536543 Change-Id: Ia9c81c2251ac7bf4eef6d37799741612989fc9c0 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/307228 Reviewed-by: Mike Klein <mtklein@google.com> Commit-Queue: Leon Scroggins <scroggo@google.com>
diff --git a/src/codec/SkWebpCodec.cpp b/src/codec/SkWebpCodec.cpp index e901957..b66d576 100644 --- a/src/codec/SkWebpCodec.cpp +++ b/src/codec/SkWebpCodec.cpp
@@ -77,7 +77,7 @@ const int width = WebPDemuxGetI(demux, WEBP_FF_CANVAS_WIDTH); const int height = WebPDemuxGetI(demux, WEBP_FF_CANVAS_HEIGHT); - // Sanity check for image size that's about to be decoded. + // Validate the image size that's about to be decoded. { const int64_t size = sk_64_mul(width, height); // now check that if we are 4-bytes per pixel, we also don't overflow