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

Unified Diff: extensions/browser/api/storage/storage_frontend.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/api/storage/storage_frontend.cc
diff --git a/extensions/browser/api/storage/storage_frontend.cc b/extensions/browser/api/storage/storage_frontend.cc
index c27ea67d4a8cdfdf7b94fccd51eac90cdfbc6e23..45772da92ee244a582b2c67b8160ec9decb04126 100644
--- a/extensions/browser/api/storage/storage_frontend.cc
+++ b/extensions/browser/api/storage/storage_frontend.cc
@@ -31,8 +31,8 @@ namespace extensions {
namespace {
-base::LazyInstance<BrowserContextKeyedAPIFactory<StorageFrontend> > g_factory =
- LAZY_INSTANCE_INITIALIZER;
+base::LazyInstance<BrowserContextKeyedAPIFactory<StorageFrontend>>::
+ DestructorAtExit g_factory = LAZY_INSTANCE_INITIALIZER;
// Settings change Observer which forwards changes on to the extension
// processes for |context| and its incognito partner if it exists.

Powered by Google App Engine
This is Rietveld 408576698