fix: update deprecated v8 api usage
This commit is contained in:
parent
f09cb56f19
commit
92cfc4a62d
10 changed files with 117 additions and 94 deletions
|
@ -29,7 +29,7 @@ void BeforeStartInUI(base::WeakPtr<URLRequestStringJob> job,
|
|||
if (args->GetNext(&value)) {
|
||||
V8ValueConverter converter;
|
||||
v8::Local<v8::Context> context = args->isolate()->GetCurrentContext();
|
||||
request_options.reset(converter.FromV8Value(value, context));
|
||||
request_options = converter.FromV8Value(value, context);
|
||||
}
|
||||
|
||||
if (request_options) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue