From a64fd7f320af90dd76b7d922f104e5715797f0a6 Mon Sep 17 00:00:00 2001 From: Michaƫl Zasso Date: Sun, 26 Aug 2018 10:28:17 +0200 Subject: src: use String::Write{OneByte,Utf8} with isolate PR-URL: https://github.com/nodejs/node/pull/22531 Reviewed-By: Colin Ihrig Reviewed-By: Daniel Bevenius Reviewed-By: Anna Henningsen Reviewed-By: James M Snell --- src/string_bytes.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/string_bytes.h') diff --git a/src/string_bytes.h b/src/string_bytes.h index 7a70f06f63..5f5fcd9fa0 100644 --- a/src/string_bytes.h +++ b/src/string_bytes.h @@ -112,7 +112,8 @@ class StringBytes { v8::Local* error); private: - static size_t WriteUCS2(char* buf, + static size_t WriteUCS2(v8::Isolate* isolate, + char* buf, size_t buflen, v8::Local str, int flags, -- cgit v1.2.3