Index: ui/gfx/icc_profile_win.cc |
diff --git a/ui/gfx/icc_profile_win.cc b/ui/gfx/icc_profile_win.cc |
index 7e1b0ca0f0aface2a54e3754eb6169c6ad453f47..c4ac9d96e66bac38ac1240f006b712fdd0185c83 100644 |
--- a/ui/gfx/icc_profile_win.cc |
+++ b/ui/gfx/icc_profile_win.cc |
@@ -33,10 +33,10 @@ void ReadBestMonitorICCProfile(std::vector<char>* profile) { |
profile->assign(profile_data.data(), profile_data.data() + length); |
} |
-base::LazyInstance<base::Lock> g_best_monitor_color_space_lock = |
- LAZY_INSTANCE_INITIALIZER; |
-base::LazyInstance<gfx::ICCProfile> g_best_monitor_color_space = |
- LAZY_INSTANCE_INITIALIZER; |
+base::LazyInstance<base::Lock>::DestructorAtExit |
+ g_best_monitor_color_space_lock = LAZY_INSTANCE_INITIALIZER; |
+base::LazyInstance<gfx::ICCProfile>::DestructorAtExit |
+ g_best_monitor_color_space = LAZY_INSTANCE_INITIALIZER; |
bool g_has_initialized_best_monitor_color_space = false; |
} // namespace |