Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(38)

Unified Diff: src/api.cc

Issue 2579963002: Revert of Disallow passing a SharedArrayBuffer in the transfer list. (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « include/v8.h ('k') | src/messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/api.cc
diff --git a/src/api.cc b/src/api.cc
index 632ab9d3688a02b3a7b9eb66b113013ee45cd224..0c2c76846fdc0a5e04346af92069e4f39702795b 100644
--- a/src/api.cc
+++ b/src/api.cc
@@ -3031,15 +3031,6 @@
isolate->error_function(), i::MessageTemplate::kDataCloneError,
Utils::OpenHandle(*object)));
return Nothing<bool>();
-}
-
-Maybe<uint32_t> ValueSerializer::Delegate::GetSharedArrayBufferId(
- Isolate* v8_isolate, Local<SharedArrayBuffer> shared_array_buffer) {
- i::Isolate* isolate = reinterpret_cast<i::Isolate*>(v8_isolate);
- isolate->ScheduleThrow(*isolate->factory()->NewError(
- isolate->error_function(), i::MessageTemplate::kDataCloneError,
- Utils::OpenHandle(*shared_array_buffer)));
- return Nothing<uint32_t>();
}
void* ValueSerializer::Delegate::ReallocateBufferMemory(void* old_buffer,
« no previous file with comments | « include/v8.h ('k') | src/messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698