Index: ui/views/win/hwnd_message_handler.h |
diff --git a/ui/views/win/hwnd_message_handler.h b/ui/views/win/hwnd_message_handler.h |
index 2230e23a00d3d8dc496f518a4749a1d3894b74c8..e0a804cb8c9856ab729936fb19489f13d1002ad6 100644 |
--- a/ui/views/win/hwnd_message_handler.h |
+++ b/ui/views/win/hwnd_message_handler.h |
@@ -701,7 +701,8 @@ class VIEWS_EXPORT HWNDMessageHandler : |
// to keep a raw pointer to the HWNDMessageHandler instance as we track the |
// window destruction and ensure that the map is cleaned up. |
using FullscreenWindowMonitorMap = std::map<HMONITOR, HWNDMessageHandler*>; |
- static base::LazyInstance<FullscreenWindowMonitorMap> fullscreen_monitor_map_; |
+ static base::LazyInstance<FullscreenWindowMonitorMap>::DestructorAtExit |
+ fullscreen_monitor_map_; |
// The WeakPtrFactories below must occur last in the class definition so they |
// get destroyed last. |