Remove base::Value::GetType()

https://chromium-review.googlesource.com/718458
This commit is contained in:
Aleksei Kuzmin 2018-04-11 11:21:23 +02:00 committed by Samuel Attard
parent 343c42e4ef
commit 2c4bbacec1

View file

@ -157,7 +157,7 @@ base::Value* V8ValueConverter::FromV8Value(
v8::Local<v8::Value> 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<v8::Value> V8ValueConverter::ToV8ValueImpl(
return ToArrayBuffer(isolate, static_cast<const base::Value*>(value));
default:
LOG(ERROR) << "Unexpected value type: " << value->GetType();
LOG(ERROR) << "Unexpected value type: " << value->type();
return v8::Null(isolate);
}
}