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

Unified Diff: ui/accelerated_widget_mac/accelerated_widget_mac.mm

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 | « tools/json_schema_compiler/cpp_bundle_generator.py ('k') | ui/accelerated_widget_mac/display_link_mac.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/accelerated_widget_mac/accelerated_widget_mac.mm
diff --git a/ui/accelerated_widget_mac/accelerated_widget_mac.mm b/ui/accelerated_widget_mac/accelerated_widget_mac.mm
index 14f119ef986c93a64eeea7a8a9805ef02922387c..2c9dd436f98e8008a5257f9de80730ea953e6b04 100644
--- a/ui/accelerated_widget_mac/accelerated_widget_mac.mm
+++ b/ui/accelerated_widget_mac/accelerated_widget_mac.mm
@@ -27,8 +27,7 @@ namespace {
typedef std::map<gfx::AcceleratedWidget,AcceleratedWidgetMac*>
WidgetToHelperMap;
-base::LazyInstance<WidgetToHelperMap> g_widget_to_helper_map;
-
+base::LazyInstance<WidgetToHelperMap>::DestructorAtExit g_widget_to_helper_map;
} // namespace
« no previous file with comments | « tools/json_schema_compiler/cpp_bundle_generator.py ('k') | ui/accelerated_widget_mac/display_link_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698