chore: stop using v8::Locker everywhere (#34078)

This commit is contained in:
Jeremy Rose
2022-05-05 11:50:21 -07:00
committed by GitHub
parent a2a8e493eb
commit d8a7219d07
23 changed files with 0 additions and 43 deletions

View File

@@ -349,7 +349,6 @@ void BrowserWindow::UpdateWindowControlsOverlay(
void BrowserWindow::CloseImmediately() {
// Close all child windows before closing current window.
v8::Locker locker(isolate());
v8::HandleScope handle_scope(isolate());
for (v8::Local<v8::Value> value : child_windows_.Values(isolate())) {
gin::Handle<BrowserWindow> child;