refactor: remove more uses of v8::Isolate::GetCurrent() (#28369)
This commit is contained in:
parent
ff96fabe5e
commit
ae2059eaa1
9 changed files with 43 additions and 44 deletions
|
@ -190,8 +190,9 @@ namespace {
|
|||
|
||||
#if defined(MAS_BUILD)
|
||||
void GetUploadedReports(
|
||||
v8::Isolate* isolate,
|
||||
base::OnceCallback<void(v8::Local<v8::Value>)> callback) {
|
||||
std::move(callback).Run(v8::Array::New(v8::Isolate::GetCurrent()));
|
||||
std::move(callback).Run(v8::Array::New(isolate));
|
||||
}
|
||||
#else
|
||||
scoped_refptr<UploadList> CreateCrashUploadList() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue