diff options
author | Clemens Backes <clemensb@chromium.org> | 2020-02-03 13:56:03 +0300 |
---|---|---|
committer | Matheus Marchini <mmarchini@netflix.com> | 2020-03-19 02:37:19 +0300 |
commit | c080b2d821eb5f28f339a7f0f72d63d838c7e715 (patch) | |
tree | 7b3821c942a519c3c9473a1c5ea08a59f91f6444 /src/node_serdes.cc | |
parent | 7ed0d1439e52de8924501869bedcdcffc7aa1be3 (diff) |
src: avoid calling deprecated method
The {SetExpectInlineWasm} method is deprecated and non-functional since
V8 v8.1.
Thus node should stop calling it, so that it can be fully removed in a
future v8 version.
PR-URL: https://github.com/nodejs/node/pull/32116
Reviewed-By: Michaƫl Zasso <targos@protonmail.com>
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Diffstat (limited to 'src/node_serdes.cc')
-rw-r--r-- | src/node_serdes.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/node_serdes.cc b/src/node_serdes.cc index bcdcd19b261..86fb822dd5b 100644 --- a/src/node_serdes.cc +++ b/src/node_serdes.cc @@ -286,7 +286,6 @@ DeserializerContext::DeserializerContext(Environment* env, length_(Buffer::Length(buffer)), deserializer_(env->isolate(), data_, length_, this) { object()->Set(env->context(), env->buffer_string(), buffer).Check(); - deserializer_.SetExpectInlineWasm(true); MakeWeak(); } |