From 366ca4713640561b4a9abd6c7264478677e4af2b Mon Sep 17 00:00:00 2001 From: deepak1556 Date: Fri, 26 Oct 2018 01:02:09 +0530 Subject: [PATCH] Change Value::BlobStorage to std::vector https://chromium-review.googlesource.com/c/chromium/src/+/1137819 --- atom/common/native_mate_converters/v8_value_converter.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/atom/common/native_mate_converters/v8_value_converter.cc b/atom/common/native_mate_converters/v8_value_converter.cc index 77360ee35be5..c8d85b0583d0 100644 --- a/atom/common/native_mate_converters/v8_value_converter.cc +++ b/atom/common/native_mate_converters/v8_value_converter.cc @@ -244,7 +244,7 @@ v8::Local V8ValueConverter::ToV8Object( v8::Local V8ValueConverter::ToArrayBuffer( v8::Isolate* isolate, const base::Value* value) const { - const char* data = value->GetBlob().data(); + const auto* data = reinterpret_cast(value->GetBlob().data()); size_t length = value->GetBlob().size(); if (NodeBindings::IsInitialized()) {