| Index: include/v8.h
|
| diff --git a/include/v8.h b/include/v8.h
|
| index 14a119f0e85e3be738d9649be869de6085d1c7b6..7d2abb7bf05d0d70b5e5d015ad78bc75f4253f1e 100644
|
| --- a/include/v8.h
|
| +++ b/include/v8.h
|
| @@ -4053,7 +4053,8 @@ class V8_EXPORT WasmCompiledModule : public Object {
|
| class V8_EXPORT WasmModuleObjectBuilder final {
|
| public:
|
| WasmModuleObjectBuilder(Isolate* isolate) : isolate_(isolate) {}
|
| - void OnBytesReceived(std::unique_ptr<const uint8_t[]>&& bytes, size_t size);
|
| + // The buffer passed into OnBytesReceived is owned by the caller.
|
| + void OnBytesReceived(const uint8_t*, size_t size);
|
| MaybeLocal<WasmCompiledModule> Finish();
|
|
|
| private:
|
|
|