Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(407)

Unified Diff: ios/web/webui/web_ui_ios_controller_factory_registry.cc

Issue 2733283002: Require explicit selection of traits for LazyInstance (Closed)
Patch Set: l10n again Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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) {
« no previous file with comments | « ios/chrome/browser/update_client/ios_chrome_update_query_params_delegate.cc ('k') | ipc/ipc_sync_channel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698