fix: add handle scope in SelectClientCertificate (#25019)

This commit is contained in:
Shelley Vohr
2020-08-18 13:32:15 -07:00
committed by GitHub
parent 4e82a50883
commit 6582017231

View File

@@ -755,7 +755,7 @@ base::OnceClosure App::SelectClientCertificate(
auto shared_identities =
std::make_shared<net::ClientCertIdentityList>(std::move(identities));
v8::HandleScope handle_scope(isolate());
bool prevent_default =
Emit("select-client-certificate",
WebContents::FromOrCreate(isolate(), web_contents),