Commit 4314a6e0 authored by Peter Marshall's avatar Peter Marshall Committed by Commit Bot

[v8][cleanup] Use ArrayBuffer::Detach instead of Neuter

Ongoing effort to deprecate this API

Bug: chromium:913887
Change-Id: I01f1390d0006d8a8ffc5271f722c5d12dd39931a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1736352Reviewed-by: default avatarKentaro Hara <haraken@chromium.org>
Commit-Queue: Peter Marshall <petermarshall@chromium.org>
Cr-Commit-Position: refs/heads/master@{#683964}
parent d05f2864
......@@ -53,7 +53,7 @@ bool DOMArrayBuffer::Transfer(v8::Isolate* isolate,
AccumulateArrayBuffersForAllWorlds(isolate, to_transfer, buffer_handles);
for (const auto& buffer_handle : buffer_handles)
buffer_handle->Neuter();
buffer_handle->Detach();
return true;
}
......
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