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

Unified Diff: components/proximity_auth/logging/logging_unittest.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
« no previous file with comments | « components/policy/core/common/policy_loader_win.cc ('k') | components/proximity_auth/screenlock_bridge.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/proximity_auth/logging/logging_unittest.cc
diff --git a/components/proximity_auth/logging/logging_unittest.cc b/components/proximity_auth/logging/logging_unittest.cc
index 9efc5d7f7a5530fb2217d93d3e003b54dbaecf06..406c50df76b3018982111c4c60e178613e8082c3 100644
--- a/components/proximity_auth/logging/logging_unittest.cc
+++ b/components/proximity_auth/logging/logging_unittest.cc
@@ -22,7 +22,7 @@ const char kLog3[] = "Pine infested by hungry beetles";
// Called for every log message added to the standard logging system. The new
// log is saved in |g_standard_logs| and consumed so it does not flood stdout.
-base::LazyInstance<std::vector<std::string>> g_standard_logs =
+base::LazyInstance<std::vector<std::string>>::DestructorAtExit g_standard_logs =
LAZY_INSTANCE_INITIALIZER;
bool HandleStandardLogMessage(int severity,
const char* file,
« no previous file with comments | « components/policy/core/common/policy_loader_win.cc ('k') | components/proximity_auth/screenlock_bridge.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698