chore: fix V8 deprecation warnings (#15842)

This commit is contained in:
Milan Burda 2018-11-27 22:42:02 +01:00 committed by Shelley Vohr
parent 455f0669e7
commit 81e00d8e56
9 changed files with 32 additions and 22 deletions

View file

@ -24,7 +24,7 @@ struct Converter<base::string16> {
if (!val->IsString())
return false;
v8::String::Value s(val);
v8::String::Value s(isolate, val);
out->assign(reinterpret_cast<const base::char16*>(*s), s.length());
return true;
}