chore: remove unnecessary casting to base::Value (#37591)
Co-authored-by: Milan Burda <miburda@microsoft.com>
This commit is contained in:
parent
64b39dce14
commit
7ed3c7a359
5 changed files with 7 additions and 8 deletions
|
@ -159,8 +159,7 @@ v8::Local<v8::Value> HttpResponseHeadersToV8(
|
|||
values->Append(base::Value(value));
|
||||
}
|
||||
}
|
||||
return gin::ConvertToV8(v8::Isolate::GetCurrent(),
|
||||
base::Value(std::move(response_headers)));
|
||||
return gin::ConvertToV8(v8::Isolate::GetCurrent(), response_headers);
|
||||
}
|
||||
|
||||
// Overloaded by multiple types to fill the |details| object.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue