Corentin Wallez b231c7fb71 Null: Make Increment/DecrementMemoryUsage use uint64_t.
Otherwise on 32-bit platforms, creation of a buffer bigger than the max
size_t would overflow the check and no OOM would be produced.

Bug: chromium:1099621

Change-Id: I987a338b150d10c0eabc3eb5fb3b815a5c2a5ca2
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/23960
Reviewed-by: Austin Eng <enga@chromium.org>
Reviewed-by: Kai Ninomiya <kainino@chromium.org>
Commit-Queue: Kai Ninomiya <kainino@chromium.org>
2020-06-29 20:03:16 +00:00
..
2020-06-19 21:39:23 +00:00
2020-04-10 19:04:42 +00:00
2020-06-15 23:42:13 +00:00
2020-06-29 11:13:43 +00:00
2020-06-29 11:13:43 +00:00
2020-06-11 00:34:14 +00:00
2020-04-20 17:36:22 +00:00
2020-06-29 11:13:43 +00:00
2020-06-19 21:39:23 +00:00
2020-06-11 00:34:14 +00:00
2020-06-11 00:34:14 +00:00
2020-04-20 17:36:22 +00:00
2020-06-11 00:34:14 +00:00