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

Unified Diff: ui/gfx/paint_vector_icon.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 | « ui/gfx/icc_profile_win.cc ('k') | ui/gfx/shadow_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/paint_vector_icon.cc
diff --git a/ui/gfx/paint_vector_icon.cc b/ui/gfx/paint_vector_icon.cc
index 2f5c762a9c9ebe3a70b89ed13a97643f6037552d..90feddf4629a0466bbde9dc68bfabfbafa0763ed 100644
--- a/ui/gfx/paint_vector_icon.cc
+++ b/ui/gfx/paint_vector_icon.cc
@@ -480,7 +480,7 @@ class VectorIconCache {
DISALLOW_COPY_AND_ASSIGN(VectorIconCache);
};
-static base::LazyInstance<VectorIconCache> g_icon_cache =
+static base::LazyInstance<VectorIconCache>::DestructorAtExit g_icon_cache =
LAZY_INSTANCE_INITIALIZER;
class VectorIconCacheLegacy {
@@ -527,8 +527,8 @@ class VectorIconCacheLegacy {
DISALLOW_COPY_AND_ASSIGN(VectorIconCacheLegacy);
};
-static base::LazyInstance<VectorIconCacheLegacy> g_icon_cache_legacy =
- LAZY_INSTANCE_INITIALIZER;
+static base::LazyInstance<VectorIconCacheLegacy>::DestructorAtExit
+ g_icon_cache_legacy = LAZY_INSTANCE_INITIALIZER;
} // namespace
« no previous file with comments | « ui/gfx/icc_profile_win.cc ('k') | ui/gfx/shadow_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698