From beda32675f79f8b5058b8e8f1823d3fee75568da Mon Sep 17 00:00:00 2001 From: Timothy Gu Date: Sun, 19 Feb 2017 22:01:31 -0800 Subject: [PATCH] src: don't assume v8::Local is using-declared PR-URL: https://github.com/nodejs/node/pull/11464 Reviewed-By: Steven R Loomis Reviewed-By: Anna Henningsen Reviewed-By: Ben Noordhuis Reviewed-By: James M Snell --- src/util.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util.h b/src/util.h index b32f2b8a71ca0f..20b2ffcdba454b 100644 --- a/src/util.h +++ b/src/util.h @@ -394,7 +394,7 @@ class BufferValue : public MaybeStackBuffer { #define SPREAD_BUFFER_ARG(val, name) \ CHECK((val)->IsUint8Array()); \ - Local name = (val).As(); \ + v8::Local name = (val).As(); \ v8::ArrayBuffer::Contents name##_c = name->Buffer()->GetContents(); \ const size_t name##_offset = name->ByteOffset(); \ const size_t name##_length = name->ByteLength(); \