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

Unified Diff: net/base/test_root_certs.cc

Issue 8491043: Allow linker initialization of lazy instance (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: willchan comments + rebase Created 9 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 | « net/base/ssl_config_service.cc ('k') | net/base/test_root_certs_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/test_root_certs.cc
diff --git a/net/base/test_root_certs.cc b/net/base/test_root_certs.cc
index 6d4bc1849851406e19c9cd9d12ac96e4112b8698..120c573896c0fc98a4206753607d54d9e100be8c 100644
--- a/net/base/test_root_certs.cc
+++ b/net/base/test_root_certs.cc
@@ -19,7 +19,7 @@ bool g_has_instance = false;
base::LazyInstance<TestRootCerts,
base::LeakyLazyInstanceTraits<TestRootCerts> >
- g_test_root_certs(base::LINKER_INITIALIZED);
+ g_test_root_certs = LAZY_INSTANCE_INITIALIZER;
CertificateList LoadCertificates(const FilePath& filename) {
std::string raw_cert;
« no previous file with comments | « net/base/ssl_config_service.cc ('k') | net/base/test_root_certs_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698