diff --git a/src/js_native_api_v8.cc b/src/js_native_api_v8.cc index 2a5bb8f5bc5ae2..44270df350c174 100644 --- a/src/js_native_api_v8.cc +++ b/src/js_native_api_v8.cc @@ -833,7 +833,7 @@ void Reference::WeakCallback(const v8::WeakCallbackInfo& data) { */ class ExternalWrapper { private: - explicit ExternalWrapper(void* data) : data_(data) {} + explicit ExternalWrapper(void* data) : data_(data), type_tag_{0, 0} {} static void WeakCallback(const v8::WeakCallbackInfo& data) { ExternalWrapper* wrapper = data.GetParameter();