Commit 0f067efe authored by Peter Marshall's avatar Peter Marshall Committed by Commit Bot

[cleanup] Remove deprecated Neuter API calls

These were deprecated in 7.8 via:
https://chromium-review.googlesource.com/c/v8/v8/+/1735316

Use Detach() instead.

Bug: chromium:913887, v8:9396
Change-Id: I7d0b0c0273188c99f5afee18d4880852f5e59d10
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1801850
Commit-Queue: Peter Marshall <petermarshall@chromium.org>
Commit-Queue: Ulan Degenbaev <ulan@chromium.org>
Auto-Submit: Peter Marshall <petermarshall@chromium.org>
Reviewed-by: 's avatarUlan Degenbaev <ulan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#63748}
parent dbc36e95
......@@ -4858,12 +4858,6 @@ class V8_EXPORT ArrayBuffer : public Object {
*/
bool IsDetachable() const;
// TODO(913887): fix the use of 'neuter' in the API.
V8_DEPRECATED("Use IsDetachable() instead.",
inline bool IsNeuterable() const) {
return IsDetachable();
}
/**
* Detaches this ArrayBuffer and all its views (typed arrays).
* Detaching sets the byte length of the buffer and all typed arrays to zero,
......@@ -4872,9 +4866,6 @@ class V8_EXPORT ArrayBuffer : public Object {
*/
void Detach();
// TODO(913887): fix the use of 'neuter' in the API.
V8_DEPRECATED("Use Detach() instead.", inline void Neuter()) { Detach(); }
/**
* Make this ArrayBuffer external. The pointer to underlying memory block
* and byte length are returned as |Contents| structure. After ArrayBuffer
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment