Index: ios/web/webui/web_ui_ios_controller_factory_registry.cc |
diff --git a/ios/web/webui/web_ui_ios_controller_factory_registry.cc b/ios/web/webui/web_ui_ios_controller_factory_registry.cc |
index 14c553cec7ea48f34481ebb9edfd51119c51956e..d48a8ecde9314c55a61575297160f02efcc24331 100644 |
--- a/ios/web/webui/web_ui_ios_controller_factory_registry.cc |
+++ b/ios/web/webui/web_ui_ios_controller_factory_registry.cc |
@@ -14,8 +14,8 @@ |
namespace web { |
-base::LazyInstance<std::vector<WebUIIOSControllerFactory*>> g_factories = |
- LAZY_INSTANCE_INITIALIZER; |
+base::LazyInstance<std::vector<WebUIIOSControllerFactory*>>::DestructorAtExit |
+ g_factories = LAZY_INSTANCE_INITIALIZER; |
void WebUIIOSControllerFactory::RegisterFactory( |
WebUIIOSControllerFactory* factory) { |