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(); \