Index: content/browser/renderer_host/render_widget_host_impl.cc |
diff --git a/content/browser/renderer_host/render_widget_host_impl.cc b/content/browser/renderer_host/render_widget_host_impl.cc |
index f2e115f5c46f29470f74c02d7322063fce291b92..5b294b15efe2313e691c99ac35fdbd1194222552 100644 |
--- a/content/browser/renderer_host/render_widget_host_impl.cc |
+++ b/content/browser/renderer_host/render_widget_host_impl.cc |
@@ -127,8 +127,8 @@ bool g_check_for_pending_resize_ack = true; |
using RenderWidgetHostID = std::pair<int32_t, int32_t>; |
using RoutingIDWidgetMap = |
base::hash_map<RenderWidgetHostID, RenderWidgetHostImpl*>; |
-base::LazyInstance<RoutingIDWidgetMap> g_routing_id_widget_map = |
- LAZY_INSTANCE_INITIALIZER; |
+base::LazyInstance<RoutingIDWidgetMap>::DestructorAtExit |
+ g_routing_id_widget_map = LAZY_INSTANCE_INITIALIZER; |
// Implements the RenderWidgetHostIterator interface. It keeps a list of |
// RenderWidgetHosts, and makes sure it returns a live RenderWidgetHost at each |