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

Unified Diff: content/browser/renderer_host/render_widget_helper.cc

Issue 2733283002: Require explicit selection of traits for LazyInstance (Closed)
Patch Set: 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: content/browser/renderer_host/render_widget_helper.cc
diff --git a/content/browser/renderer_host/render_widget_helper.cc b/content/browser/renderer_host/render_widget_helper.cc
index ddc2e13a671e2ad3ac4a710ed39f0ce7d1af075e..6cca1d74be9f0cef34276dd3cd10ce604a7e3abd 100644
--- a/content/browser/renderer_host/render_widget_helper.cc
+++ b/content/browser/renderer_host/render_widget_helper.cc
@@ -21,7 +21,7 @@ namespace content {
namespace {
typedef std::map<int, RenderWidgetHelper*> WidgetHelperMap;
-base::LazyInstance<WidgetHelperMap> g_widget_helpers =
+base::LazyInstance<WidgetHelperMap>::DestructorAtExit g_widget_helpers =
LAZY_INSTANCE_INITIALIZER;
void AddWidgetHelper(int render_process_id,

Powered by Google App Engine
This is Rietveld 408576698