Change Value::BlobStorage to std::vector<uint8_t>
https://chromium-review.googlesource.com/c/chromium/src/+/1137819
This commit is contained in:
parent
d21e30f57b
commit
366ca47136
1 changed files with 1 additions and 1 deletions
|
@ -244,7 +244,7 @@ v8::Local<v8::Value> V8ValueConverter::ToV8Object(
|
||||||
v8::Local<v8::Value> V8ValueConverter::ToArrayBuffer(
|
v8::Local<v8::Value> V8ValueConverter::ToArrayBuffer(
|
||||||
v8::Isolate* isolate,
|
v8::Isolate* isolate,
|
||||||
const base::Value* value) const {
|
const base::Value* value) const {
|
||||||
const char* data = value->GetBlob().data();
|
const auto* data = reinterpret_cast<const char*>(value->GetBlob().data());
|
||||||
size_t length = value->GetBlob().size();
|
size_t length = value->GetBlob().size();
|
||||||
|
|
||||||
if (NodeBindings::IsInitialized()) {
|
if (NodeBindings::IsInitialized()) {
|
||||||
|
|
Loading…
Reference in a new issue