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/gpu/GrBlockAllocator.cpp b/src/gpu/GrBlockAllocator.cpp index b1e674f..181c74d 100644 --- a/src/gpu/GrBlockAllocator.cpp +++ b/src/gpu/GrBlockAllocator.cpp
@@ -109,7 +109,7 @@ // The released block becomes the new scratch block (if it's bigger), or delete it if (this->scratchBlockSize() < block->fSize) { - SkASSERT(block != fHead.fPrev); // sanity check, shouldn't already be the scratch block + SkASSERT(block != fHead.fPrev); // shouldn't already be the scratch block if (fHead.fPrev) { delete fHead.fPrev; }