skia2/modules
Bryce Thomas 1fa54044ef rm CanvasKit.HEAPU8.buffer caching (fix UAF bug).
Cached references to the WASM heap buffer are invalid following memory growth:
https://github.com/emscripten-core/emscripten/issues/6747#issuecomment-400081465.
This change replaces references to the cached CanvasKit.buffer with direct
references to CanvasKit.HEAPU8.buffer.  The symptom of this bug is a Javascript
error thrown in the Chrome console: "Uncaught TypeError: Cannot perform
Construct on a neutered ArrayBuffer", causing the operation in question to fail.

Bug: NONE
Change-Id: I27462e80db1d33e0e77ee7295b25039c9036d2e2
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/264477
Reviewed-by: Kevin Lubick <kjlubick@google.com>
2020-01-15 14:48:36 +00:00
..
canvaskit rm CanvasKit.HEAPU8.buffer caching (fix UAF bug). 2020-01-15 14:48:36 +00:00
particles use std::make_unique 2019-12-12 22:32:45 +00:00
pathkit remove dead code around old SkPath enums 2019-12-14 01:58:10 +00:00
skottie [skottie] cleanup: move transform & camera adapters to own CUs 2020-01-06 18:16:14 +00:00
skparagraph Formatting paragraph with width=0 2020-01-13 14:22:22 +00:00
skplaintexteditor tools/skui: put all enums in a common namespace 2019-08-29 15:39:32 +00:00
skresources use std::make_unique 2019-12-12 22:32:45 +00:00
sksg remove dead code around old SkPath enums 2019-12-14 01:58:10 +00:00
skshaper use std::make_unique 2019-12-12 22:32:45 +00:00