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

Unified Diff: crypto/nss_util.cc

Issue 723343002: Update from https://crrev.com/304121 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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
« no previous file with comments | « crypto/ec_signature_creator_openssl.cc ('k') | crypto/rsa_private_key_nss.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: crypto/nss_util.cc
diff --git a/crypto/nss_util.cc b/crypto/nss_util.cc
index 8f9865a3c6cb59ae384c41a57901bcb231edd57f..02c932711968761233e0217bea0ccf3507ffbff6 100644
--- a/crypto/nss_util.cc
+++ b/crypto/nss_util.cc
@@ -835,7 +835,8 @@ class NSSInitSingleton {
base::CPU cpu;
if (cpu.has_avx_hardware() && !cpu.has_avx()) {
- base::Environment::Create()->SetVar("NSS_DISABLE_HW_AES", "1");
+ scoped_ptr<base::Environment> env(base::Environment::Create());
+ env->SetVar("NSS_DISABLE_HW_AES", "1");
}
}
}
« no previous file with comments | « crypto/ec_signature_creator_openssl.cc ('k') | crypto/rsa_private_key_nss.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698