Change Value::BlobStorage to std::vector<uint8_t>

https://chromium-review.googlesource.com/c/chromium/src/+/1137819
This commit is contained in:
deepak1556 2018-10-26 01:02:09 +05:30
parent d21e30f57b
commit 366ca47136

View file

@ -244,7 +244,7 @@ v8::Local<v8::Value> V8ValueConverter::ToV8Object(
v8::Local<v8::Value> V8ValueConverter::ToArrayBuffer(
v8::Isolate* isolate,
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();
if (NodeBindings::IsInitialized()) {