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

Unified Diff: net/base/test_root_certs.cc

Issue 9192024: Add a convenience typedef LazyInstance<T>::Leaky to avoid repeating T. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 11 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: net/base/test_root_certs.cc
diff --git a/net/base/test_root_certs.cc b/net/base/test_root_certs.cc
index 6eaf0e7bc4d9e21ec171085a2d5efb413f3dcd40..5c268e72937bdddbb23111c3b8016ec7f7ceddd9 100644
--- a/net/base/test_root_certs.cc
+++ b/net/base/test_root_certs.cc
@@ -17,8 +17,7 @@ namespace {
bool g_has_instance = false;
-base::LazyInstance<TestRootCerts,
- base::LeakyLazyInstanceTraits<TestRootCerts> >
+base::LazyInstance<TestRootCerts>::Leaky
g_test_root_certs = LAZY_INSTANCE_INITIALIZER;
CertificateList LoadCertificates(const FilePath& filename) {

Powered by Google App Engine
This is Rietveld 408576698