aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/ResourceCacheTest.cpp
diff options
context:
space:
mode:
authorGravatar Herb Derby <herb@google.com>2017-09-26 11:10:20 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-09-26 17:18:08 +0000
commit9b89bcae4088b174480795ef16e321c6c74e85ae (patch)
tree2ab8d7248e205425abebe148c1a0fc2ea2e2802b /tests/ResourceCacheTest.cpp
parentcd871401114f402e72420ccd49edecee2532b0e6 (diff)
Limit maximum sigma to avoid overflows
Limit the maximum sigma to avoid overflowing the blur calculation, and more importantly to limit the size of buffers. I checked that this failed on my linux box, and this CL fixes the problem. BUG=chromium:768294 Change-Id: I7ed14acc47f546db9c00c78c148a898459852a9f Reviewed-on: https://skia-review.googlesource.com/50920 Commit-Queue: Herb Derby <herb@google.com> Reviewed-by: Florin Malita <fmalita@chromium.org>
Diffstat (limited to 'tests/ResourceCacheTest.cpp')
0 files changed, 0 insertions, 0 deletions