From 1f02c709c89c613c481b4371630f8c918e718bcd Mon Sep 17 00:00:00 2001 From: maikesiwu Date: Wed, 13 Apr 2022 19:07:31 +0000 Subject: [PATCH] Use Uint32::NewFromUnsigned for unsigned values --- libcef/renderer/v8_impl.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libcef/renderer/v8_impl.cc b/libcef/renderer/v8_impl.cc index 2da109940..4b441283c 100644 --- a/libcef/renderer/v8_impl.cc +++ b/libcef/renderer/v8_impl.cc @@ -1607,7 +1607,7 @@ v8::Local CefV8ValueImpl::GetV8Value(bool should_persist) { case TYPE_INT: return v8::Int32::New(isolate_, int_value_); case TYPE_UINT: - return v8::Uint32::New(isolate_, uint_value_); + return v8::Uint32::NewFromUnsigned(isolate_, uint_value_); case TYPE_DOUBLE: return v8::Number::New(isolate_, double_value_); case TYPE_DATE: