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

Unified Diff: net/cert_net/nss_ocsp.cc

Issue 2733283002: Require explicit selection of traits for LazyInstance (Closed)
Patch Set: . Created 3 years, 9 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/cert_net/nss_ocsp.cc
diff --git a/net/cert_net/nss_ocsp.cc b/net/cert_net/nss_ocsp.cc
index d2e250e68f379567484feb56790f3a52c1eac9f6..19fb32d3ac3ae9be6c749f247455307772405819 100644
--- a/net/cert_net/nss_ocsp.cc
+++ b/net/cert_net/nss_ocsp.cc
@@ -106,7 +106,7 @@ class OCSPIOLoop {
}
private:
- friend struct base::DefaultLazyInstanceTraits<OCSPIOLoop>;
+ friend struct base::LazyInstanceTraitsBase<OCSPIOLoop>;
OCSPIOLoop();
@@ -164,7 +164,7 @@ char* GetAlternateOCSPAIAInfo(CERTCertificate *cert);
class OCSPNSSInitialization {
private:
- friend struct base::DefaultLazyInstanceTraits<OCSPNSSInitialization>;
+ friend struct base::LazyInstanceTraitsBase<OCSPNSSInitialization>;
OCSPNSSInitialization();
// This class is only instantiated as a leaky LazyInstance, so its destructor

Powered by Google App Engine
This is Rietveld 408576698