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

Unified Diff: chromecast/crash/app_state_tracker.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/common/media/cast_media_client.h ('k') | chromecast/graphics/cast_vsync_settings.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/crash/app_state_tracker.cc
diff --git a/chromecast/crash/app_state_tracker.cc b/chromecast/crash/app_state_tracker.cc
index b563ece66cdb1c5993fe6ca720881ab07d98eda9..8910723ada79ae73f03da5b55dc5611f045de226 100644
--- a/chromecast/crash/app_state_tracker.cc
+++ b/chromecast/crash/app_state_tracker.cc
@@ -15,7 +15,8 @@ struct CurrentAppState {
std::string last_launched_app;
};
-base::LazyInstance<CurrentAppState> g_app_state = LAZY_INSTANCE_INITIALIZER;
+base::LazyInstance<CurrentAppState>::DestructorAtExit g_app_state =
+ LAZY_INSTANCE_INITIALIZER;
CurrentAppState* GetAppState() {
return g_app_state.Pointer();
« no previous file with comments | « chromecast/common/media/cast_media_client.h ('k') | chromecast/graphics/cast_vsync_settings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698