Index: chrome/browser/autofill/validation_rules_storage_factory.cc |
diff --git a/chrome/browser/autofill/validation_rules_storage_factory.cc b/chrome/browser/autofill/validation_rules_storage_factory.cc |
index 21d685123b646199df45e60c5e97be321eb3e9a8..8265c58519d306c7a5a43d90512536cb0eda8465 100644 |
--- a/chrome/browser/autofill/validation_rules_storage_factory.cc |
+++ b/chrome/browser/autofill/validation_rules_storage_factory.cc |
@@ -19,8 +19,8 @@ using ::i18n::addressinput::Storage; |
// static |
std::unique_ptr<Storage> ValidationRulesStorageFactory::CreateStorage() { |
- static base::LazyInstance<ValidationRulesStorageFactory> instance = |
- LAZY_INSTANCE_INITIALIZER; |
+ static base::LazyInstance<ValidationRulesStorageFactory>::DestructorAtExit |
+ instance = LAZY_INSTANCE_INITIALIZER; |
return std::unique_ptr<Storage>( |
new ChromeStorageImpl(instance.Get().json_pref_store_.get())); |
} |