Index: chrome/browser/extensions/api/preference/chrome_direct_setting_api.cc |
diff --git a/chrome/browser/extensions/api/preference/chrome_direct_setting_api.cc b/chrome/browser/extensions/api/preference/chrome_direct_setting_api.cc |
index 36e86c67aded57e04653a985452ed45b92dd9291..26a2c9fa991a9b33bd7bbf87666be51cd61b336b 100644 |
--- a/chrome/browser/extensions/api/preference/chrome_direct_setting_api.cc |
+++ b/chrome/browser/extensions/api/preference/chrome_direct_setting_api.cc |
@@ -76,12 +76,12 @@ class PreferenceWhitelist { |
DISALLOW_COPY_AND_ASSIGN(PreferenceWhitelist); |
}; |
-base::LazyInstance<PreferenceWhitelist> preference_whitelist = |
+base::LazyInstance<PreferenceWhitelist>::DestructorAtExit preference_whitelist = |
LAZY_INSTANCE_INITIALIZER; |
static base::LazyInstance< |
- BrowserContextKeyedAPIFactory<ChromeDirectSettingAPI> > g_factory = |
- LAZY_INSTANCE_INITIALIZER; |
+ BrowserContextKeyedAPIFactory<ChromeDirectSettingAPI>>::DestructorAtExit |
+ g_factory = LAZY_INSTANCE_INITIALIZER; |
ChromeDirectSettingAPI::ChromeDirectSettingAPI(content::BrowserContext* context) |
: profile_(Profile::FromBrowserContext(context)) { |