aboutsummaryrefslogtreecommitdiffhomepage
path: root/dm/DM.cpp
diff options
context:
space:
mode:
authorGravatar Herb Derby <herb@google.com>2017-08-15 17:30:58 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-08-15 21:54:27 +0000
commit8618338c4afc7f8dd27e415ac44b40f2938cb363 (patch)
treefabc5058905076558572e076ad6910e1e1434dc1 /dm/DM.cpp
parent32491566dad004800d189447cc31eda1432730be (diff)
Fix bogus math in object allocation.
When a size_t is convert from a very large number to ptrdiff_t, it becomes negative causing the existing block to be used instead of allocating a new block. Remove broken test from last try. TBR=bungeman@google.com BUG=chromium:744109 Change-Id: Ifc81bb8f416d64f640730c66bce56a8e4c677173 Reviewed-on: https://skia-review.googlesource.com/35080 Reviewed-by: Herb Derby <herb@google.com> Commit-Queue: Herb Derby <herb@google.com>
Diffstat (limited to 'dm/DM.cpp')
0 files changed, 0 insertions, 0 deletions