Index: content/renderer/render_frame_impl.cc |
diff --git a/content/renderer/render_frame_impl.cc b/content/renderer/render_frame_impl.cc |
index 361093328fa14c5bef4a6bdd64d30120784e44be..8e044057fbe78485f1770d1631295832a1c25df8 100644 |
--- a/content/renderer/render_frame_impl.cc |
+++ b/content/renderer/render_frame_impl.cc |
@@ -351,11 +351,12 @@ namespace { |
const int kExtraCharsBeforeAndAfterSelection = 100; |
typedef std::map<int, RenderFrameImpl*> RoutingIDFrameMap; |
-static base::LazyInstance<RoutingIDFrameMap> g_routing_id_frame_map = |
- LAZY_INSTANCE_INITIALIZER; |
+static base::LazyInstance<RoutingIDFrameMap>::DestructorAtExit |
+ g_routing_id_frame_map = LAZY_INSTANCE_INITIALIZER; |
typedef std::map<blink::WebFrame*, RenderFrameImpl*> FrameMap; |
-base::LazyInstance<FrameMap> g_frame_map = LAZY_INSTANCE_INITIALIZER; |
+base::LazyInstance<FrameMap>::DestructorAtExit g_frame_map = |
+ LAZY_INSTANCE_INITIALIZER; |
int64_t ExtractPostId(const WebHistoryItem& item) { |
if (item.isNull() || item.httpBody().isNull()) |