From 2c4bbacec162cbad804c6a09014063554bcd4f12 Mon Sep 17 00:00:00 2001 From: Aleksei Kuzmin Date: Wed, 11 Apr 2018 11:21:23 +0200 Subject: [PATCH] Remove base::Value::GetType() https://chromium-review.googlesource.com/718458 --- atom/common/native_mate_converters/v8_value_converter.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/atom/common/native_mate_converters/v8_value_converter.cc b/atom/common/native_mate_converters/v8_value_converter.cc index 929f3328e9c8..d8f0a973701e 100644 --- a/atom/common/native_mate_converters/v8_value_converter.cc +++ b/atom/common/native_mate_converters/v8_value_converter.cc @@ -157,7 +157,7 @@ base::Value* V8ValueConverter::FromV8Value( v8::Local V8ValueConverter::ToV8ValueImpl( v8::Isolate* isolate, const base::Value* value) const { - switch (value->GetType()) { + switch (value->type()) { case base::Value::Type::NONE: return v8::Null(isolate); @@ -197,7 +197,7 @@ v8::Local V8ValueConverter::ToV8ValueImpl( return ToArrayBuffer(isolate, static_cast(value)); default: - LOG(ERROR) << "Unexpected value type: " << value->GetType(); + LOG(ERROR) << "Unexpected value type: " << value->type(); return v8::Null(isolate); } }