Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(56)

Unified Diff: chrome/browser/chromeos/platform_keys/platform_keys_nss.cc

Issue 2257103002: Re-write many calls to WrapUnique() with MakeUnique() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/platform_keys/platform_keys_nss.cc
diff --git a/chrome/browser/chromeos/platform_keys/platform_keys_nss.cc b/chrome/browser/chromeos/platform_keys/platform_keys_nss.cc
index 983812b25bc6717811fe0c30e7880898029f5912..594f9d7293832cdb3463e48be56ffe77075c190d 100644
--- a/chrome/browser/chromeos/platform_keys/platform_keys_nss.cc
+++ b/chrome/browser/chromeos/platform_keys/platform_keys_nss.cc
@@ -554,8 +554,8 @@ void SelectCertificatesOnIOThread(
DCHECK_CURRENTLY_ON(BrowserThread::IO);
state->cert_store_.reset(new ClientCertStoreChromeOS(
nullptr, // no additional provider
- base::WrapUnique(new ClientCertFilterChromeOS(state->use_system_key_slot_,
- state->username_hash_)),
+ base::MakeUnique<ClientCertFilterChromeOS>(state->use_system_key_slot_,
+ state->username_hash_),
ClientCertStoreChromeOS::PasswordDelegateFactory()));
state->certs_.reset(new net::CertificateList);

Powered by Google App Engine
This is Rietveld 408576698