chore: use std::make_unique/base::MakeRefCounted when possible (#29510)
This commit is contained in:
parent
a4decffe9a
commit
79cb5144ae
38 changed files with 106 additions and 101 deletions
|
@ -58,7 +58,7 @@
|
|||
certChain:(CFArrayRef)certChain
|
||||
secPolicy:(SecPolicyRef)secPolicy {
|
||||
if ((self = [super init])) {
|
||||
promise_.reset(new gin_helper::Promise<void>(std::move(promise)));
|
||||
promise_ = std::make_unique<gin_helper::Promise<void>>(std::move(promise));
|
||||
panel_ = panel;
|
||||
cert_ = cert;
|
||||
trust_ = trust;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue