Commit 23b075d
committed
deps: V8: cherry-pick d3308d0
Original commit message:
[api] Add `Isolate::GetArrayBufferAllocator()`
This allows non-monolithic embedders to always allocate memory
for ArrayBuffer instances using the right allocation method.
This is based on a patch that Electron is currently using.
Refs: https://github.com/electron/electron/blob/1898f9162073910c05958295c612deec6121a892/patches/common/v8/array_buffer.patch
Change-Id: I39a614343118a0594aab48699a99cc2aad5b7ba9
Reviewed-on: https://chromium-review.googlesource.com/c/1462003
Reviewed-by: Yang Guo <[email protected]>
Commit-Queue: Yang Guo <[email protected]>
Cr-Commit-Position: refs/heads/master@{#59697}
Refs: v8/v8@d3308d0
PR-URL: #26207
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Joyee Cheung <[email protected]>1 parent b0869c6 commit 23b075d
3 files changed
+9
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7642 | 7642 | | |
7643 | 7643 | | |
7644 | 7644 | | |
| 7645 | + | |
| 7646 | + | |
| 7647 | + | |
7645 | 7648 | | |
7646 | 7649 | | |
7647 | 7650 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8007 | 8007 | | |
8008 | 8008 | | |
8009 | 8009 | | |
| 8010 | + | |
| 8011 | + | |
| 8012 | + | |
| 8013 | + | |
| 8014 | + | |
8010 | 8015 | | |
8011 | 8016 | | |
8012 | 8017 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20881 | 20881 | | |
20882 | 20882 | | |
20883 | 20883 | | |
| 20884 | + | |
20884 | 20885 | | |
20885 | 20886 | | |
20886 | 20887 | | |
| |||
0 commit comments