Skip to content

Commit

Permalink
Avoid calling deprecated method
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
backes authored and nodejs-ci committed Feb 18, 2020
1 parent 192583d commit 768d4d7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/node_serdes.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down

0 comments on commit 768d4d7

Please sign in to comment.