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); } }