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

Unified Diff: extensions/browser/error_map.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: extensions/browser/error_map.cc
diff --git a/extensions/browser/error_map.cc b/extensions/browser/error_map.cc
index 767f8dcb0a8b2668d1e95b1cf71613704ed4758b..df5ec4df582195d8d69968c40101b212f6eb2175 100644
--- a/extensions/browser/error_map.cc
+++ b/extensions/browser/error_map.cc
@@ -17,7 +17,8 @@ namespace {
// The maximum number of errors to be stored per extension.
const size_t kMaxErrorsPerExtension = 100;
-base::LazyInstance<ErrorList> g_empty_error_list = LAZY_INSTANCE_INITIALIZER;
+base::LazyInstance<ErrorList>::DestructorAtExit g_empty_error_list =
+ LAZY_INSTANCE_INITIALIZER;
// An incrementing counter for the next error id. Overflowing this is very
// unlikely, since the number of errors per extension is capped at 100.
« no previous file with comments | « extensions/browser/browser_context_keyed_api_factory.h ('k') | extensions/browser/extension_api_frame_id_map.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698