Index: components/policy/core/common/policy_loader_win.cc |
diff --git a/components/policy/core/common/policy_loader_win.cc b/components/policy/core/common/policy_loader_win.cc |
index b240c79a331d6fa08078d92d114365cd4c7e65bf..d86ae5dc1ef85fa6aba9927d72f2ae5144acc2e6 100644 |
--- a/components/policy/core/common/policy_loader_win.cc |
+++ b/components/policy/core/common/policy_loader_win.cc |
@@ -213,7 +213,7 @@ class Wow64Functions { |
}; |
// Global Wow64Function instance used by ScopedDisableWow64Redirection below. |
-static base::LazyInstance<Wow64Functions> g_wow_64_functions = |
+static base::LazyInstance<Wow64Functions>::DestructorAtExit g_wow_64_functions = |
LAZY_INSTANCE_INITIALIZER; |
// Scoper that switches off Wow64 File System Redirection during its lifetime. |
@@ -266,8 +266,8 @@ class WinGPOListProvider : public AppliedGPOListProvider { |
}; |
// The default windows GPO list provider used for PolicyLoaderWin. |
-static base::LazyInstance<WinGPOListProvider> g_win_gpo_list_provider = |
- LAZY_INSTANCE_INITIALIZER; |
+static base::LazyInstance<WinGPOListProvider>::DestructorAtExit |
+ g_win_gpo_list_provider = LAZY_INSTANCE_INITIALIZER; |
// Parses |gpo_dict| according to |schema| and writes the resulting policy |
// settings to |policy| for the given |scope| and |level|. |