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

Unified Diff: ios/chrome/browser/update_client/ios_chrome_update_query_params_delegate.cc

Issue 2733283002: Require explicit selection of traits for LazyInstance (Closed)
Patch Set: . 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/chrome/browser/update_client/ios_chrome_update_query_params_delegate.cc
diff --git a/ios/chrome/browser/update_client/ios_chrome_update_query_params_delegate.cc b/ios/chrome/browser/update_client/ios_chrome_update_query_params_delegate.cc
index 127deec6332095513cb453ac8b28fec7eb7656f8..45616c30b5b7b766cf76c19f9f43b814c8d8af4f 100644
--- a/ios/chrome/browser/update_client/ios_chrome_update_query_params_delegate.cc
+++ b/ios/chrome/browser/update_client/ios_chrome_update_query_params_delegate.cc
@@ -12,8 +12,8 @@
namespace {
-base::LazyInstance<IOSChromeUpdateQueryParamsDelegate> g_delegate =
- LAZY_INSTANCE_INITIALIZER;
+base::LazyInstance<IOSChromeUpdateQueryParamsDelegate>::DestructorAtExit
+ g_delegate = LAZY_INSTANCE_INITIALIZER;
} // namespace

Powered by Google App Engine
This is Rietveld 408576698