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 4afec65e2be43a227764516076b2ccd59f26758f..013d4392c7df949c2c7a5b6e2b8ce6aed81b4912 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 |