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

Unified Diff: components/proximity_auth/screenlock_bridge.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: components/proximity_auth/screenlock_bridge.cc
diff --git a/components/proximity_auth/screenlock_bridge.cc b/components/proximity_auth/screenlock_bridge.cc
index 0663dda5403d95d930094b26cc68b3107d51014a..e5ca4f2545bb98a9d36e82ad4d589dd60d2c5bc6 100644
--- a/components/proximity_auth/screenlock_bridge.cc
+++ b/components/proximity_auth/screenlock_bridge.cc
@@ -16,8 +16,8 @@
namespace proximity_auth {
namespace {
-base::LazyInstance<ScreenlockBridge> g_screenlock_bridge_instance =
- LAZY_INSTANCE_INITIALIZER;
+base::LazyInstance<ScreenlockBridge>::DestructorAtExit
+ g_screenlock_bridge_instance = LAZY_INSTANCE_INITIALIZER;
// Ids for the icons that are supported by lock screen and signin screen
// account picker as user pod custom icons.

Powered by Google App Engine
This is Rietveld 408576698