Index: extensions/renderer/guest_view/guest_view_internal_custom_bindings.cc |
diff --git a/extensions/renderer/guest_view/guest_view_internal_custom_bindings.cc b/extensions/renderer/guest_view/guest_view_internal_custom_bindings.cc |
index 77bc51f90115172134dee545dd4d04e3e0f5b7bd..d9a09ffe3d2a9fd0f14e18790959a27663ea67d0 100644 |
--- a/extensions/renderer/guest_view/guest_view_internal_custom_bindings.cc |
+++ b/extensions/renderer/guest_view/guest_view_internal_custom_bindings.cc |
@@ -39,7 +39,8 @@ namespace { |
// GuestViewInternalCustomBindings::RegisterView(), and accessed via |
// GuestViewInternalCustomBindings::GetViewFromID(). |
using ViewMap = std::map<int, v8::Global<v8::Object>*>; |
-static base::LazyInstance<ViewMap> weak_view_map = LAZY_INSTANCE_INITIALIZER; |
+static base::LazyInstance<ViewMap>::DestructorAtExit weak_view_map = |
+ LAZY_INSTANCE_INITIALIZER; |
} // namespace |