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

Unified Diff: components/ssl_errors/error_classification.cc

Issue 2733283002: Require explicit selection of traits for LazyInstance (Closed)
Patch Set: l10n again 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: components/ssl_errors/error_classification.cc
diff --git a/components/ssl_errors/error_classification.cc b/components/ssl_errors/error_classification.cc
index 572b5729528089c583738fe485b8f51de6e4c999..2ce6dbbd15761073ec8b8bdaa0dd266206464e58 100644
--- a/components/ssl_errors/error_classification.cc
+++ b/components/ssl_errors/error_classification.cc
@@ -114,7 +114,8 @@ bool IsWWWSubDomainMatch(const GURL& request_url,
}
// The time to use when doing build time operations in browser tests.
-base::LazyInstance<base::Time> g_testing_build_time = LAZY_INSTANCE_INITIALIZER;
+base::LazyInstance<base::Time>::DestructorAtExit g_testing_build_time =
+ LAZY_INSTANCE_INITIALIZER;
} // namespace
« no previous file with comments | « components/proximity_auth/screenlock_bridge.cc ('k') | components/sync/model_impl/model_type_store_backend.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698