Commit 9d4a2ae1 authored by Peter Marshall's avatar Peter Marshall Committed by Commit Bot

[api] Advance deprecation of TypedArray::Neuter operations

Bug: chromium:913887
Change-Id: I3b3040acc919990fa39f54add989c5caf325864a
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1735316Reviewed-by: 's avatarYang Guo <yangguo@chromium.org>
Commit-Queue: Peter Marshall <petermarshall@chromium.org>
Cr-Commit-Position: refs/heads/master@{#63077}
parent eed9131a
...@@ -4762,8 +4762,8 @@ class V8_EXPORT ArrayBuffer : public Object { ...@@ -4762,8 +4762,8 @@ class V8_EXPORT ArrayBuffer : public Object {
bool IsDetachable() const; bool IsDetachable() const;
// TODO(913887): fix the use of 'neuter' in the API. // TODO(913887): fix the use of 'neuter' in the API.
V8_DEPRECATE_SOON("Use IsDetachable() instead.", V8_DEPRECATED("Use IsDetachable() instead.",
inline bool IsNeuterable() const) { inline bool IsNeuterable() const) {
return IsDetachable(); return IsDetachable();
} }
...@@ -4776,7 +4776,7 @@ class V8_EXPORT ArrayBuffer : public Object { ...@@ -4776,7 +4776,7 @@ class V8_EXPORT ArrayBuffer : public Object {
void Detach(); void Detach();
// TODO(913887): fix the use of 'neuter' in the API. // TODO(913887): fix the use of 'neuter' in the API.
V8_DEPRECATE_SOON("Use Detach() instead.", inline void Neuter()) { Detach(); } V8_DEPRECATED("Use Detach() instead.", inline void Neuter()) { Detach(); }
/** /**
* Make this ArrayBuffer external. The pointer to underlying memory block * Make this ArrayBuffer external. The pointer to underlying memory block
......
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