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

Unified Diff: chromeos/login_event_recorder.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: chromeos/login_event_recorder.cc
diff --git a/chromeos/login_event_recorder.cc b/chromeos/login_event_recorder.cc
index c3d67d6da1bbc4ba1ef11dfc2f8f503d2aca6af6..92a7d9f23ce9a19f0ac2f99b7b0b2fe3e2ec0136 100644
--- a/chromeos/login_event_recorder.cc
+++ b/chromeos/login_event_recorder.cc
@@ -10,8 +10,8 @@
namespace chromeos {
-static base::LazyInstance<LoginEventRecorder> g_login_event_recorder =
- LAZY_INSTANCE_INITIALIZER;
+static base::LazyInstance<LoginEventRecorder>::DestructorAtExit
+ g_login_event_recorder = LAZY_INSTANCE_INITIALIZER;
LoginEventRecorder::LoginEventRecorder() : delegate_(NULL) {
}
« no previous file with comments | « chromecast/media/cma/backend/alsa/stream_mixer_alsa.cc ('k') | chromeos/process_proxy/process_proxy_registry.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698