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

Unified Diff: chrome/common/extensions/manifest_handlers/app_icon_color_info.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: chrome/common/extensions/manifest_handlers/app_icon_color_info.cc
diff --git a/chrome/common/extensions/manifest_handlers/app_icon_color_info.cc b/chrome/common/extensions/manifest_handlers/app_icon_color_info.cc
index a03a5db2142e9207b83aa59d6b0985e9d5b358cd..5d8701399ba589d0a1e2e073166bf7d336612f77 100644
--- a/chrome/common/extensions/manifest_handlers/app_icon_color_info.cc
+++ b/chrome/common/extensions/manifest_handlers/app_icon_color_info.cc
@@ -20,8 +20,8 @@ namespace errors = manifest_errors;
namespace {
-static base::LazyInstance<AppIconColorInfo> g_empty_app_icon_color_info =
- LAZY_INSTANCE_INITIALIZER;
+static base::LazyInstance<AppIconColorInfo>::DestructorAtExit
+ g_empty_app_icon_color_info = LAZY_INSTANCE_INITIALIZER;
const AppIconColorInfo& GetInfo(const Extension* extension) {
AppIconColorInfo* info = static_cast<AppIconColorInfo*>(

Powered by Google App Engine
This is Rietveld 408576698