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

Unified Diff: content/browser/appcache/appcache_navigation_handle_core.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: content/browser/appcache/appcache_navigation_handle_core.cc
diff --git a/content/browser/appcache/appcache_navigation_handle_core.cc b/content/browser/appcache/appcache_navigation_handle_core.cc
index 8cfdaa4af17896da98a8a82289af21de2c58f0f4..18905f01c1182af3dede0d396971d4a07704b557 100644
--- a/content/browser/appcache/appcache_navigation_handle_core.cc
+++ b/content/browser/appcache/appcache_navigation_handle_core.cc
@@ -21,7 +21,7 @@ namespace {
// Accessed on the IO thread only.
using AppCacheHandleMap =
std::map <int, content::AppCacheNavigationHandleCore*>;
-base::LazyInstance<AppCacheHandleMap> g_appcache_handle_map;
+base::LazyInstance<AppCacheHandleMap>::DestructorAtExit g_appcache_handle_map;
Nico 2017/03/07 21:43:02 = LAZY_INSTANCE_INITIALIZER
scottmg 2017/03/07 21:56:30 Done. I am wondering why we do this at all now sin
} // namespace

Powered by Google App Engine
This is Rietveld 408576698