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

Unified Diff: chromecast/base/metrics/grouped_histogram.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 | « chromecast/base/chromecast_config_android.cc ('k') | chromecast/common/media/cast_media_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/base/metrics/grouped_histogram.cc
diff --git a/chromecast/base/metrics/grouped_histogram.cc b/chromecast/base/metrics/grouped_histogram.cc
index 1101a7992c55f6f25658d743d992404087298065..4211dc4f2c45a0d8a92351586ecdaeb6f3e82185 100644
--- a/chromecast/base/metrics/grouped_histogram.cc
+++ b/chromecast/base/metrics/grouped_histogram.cc
@@ -29,7 +29,7 @@ struct CurrentAppNameWithLock {
std::string app_name;
};
-base::LazyInstance<CurrentAppNameWithLock> g_current_app =
+base::LazyInstance<CurrentAppNameWithLock>::DestructorAtExit g_current_app =
LAZY_INSTANCE_INITIALIZER;
std::string GetAppName() {
« no previous file with comments | « chromecast/base/chromecast_config_android.cc ('k') | chromecast/common/media/cast_media_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698