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

Unified Diff: extensions/browser/api/declarative/rules_registry_service.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/declarative/rules_registry_service.cc
diff --git a/extensions/browser/api/declarative/rules_registry_service.cc b/extensions/browser/api/declarative/rules_registry_service.cc
index 3d8e5babdda0a1d9efacfb1c0bacc4dbdedd7803..37162a78c1d0e0af0b4d36dbb38b953a3a083a30 100644
--- a/extensions/browser/api/declarative/rules_registry_service.cc
+++ b/extensions/browser/api/declarative/rules_registry_service.cc
@@ -133,8 +133,8 @@ void RulesRegistryService::Shutdown() {
scoped_refptr<WebRequestRulesRegistry>(NULL)));
}
-static base::LazyInstance<BrowserContextKeyedAPIFactory<RulesRegistryService> >
- g_factory = LAZY_INSTANCE_INITIALIZER;
+static base::LazyInstance<BrowserContextKeyedAPIFactory<RulesRegistryService>>::
+ DestructorAtExit g_factory = LAZY_INSTANCE_INITIALIZER;
// static
BrowserContextKeyedAPIFactory<RulesRegistryService>*
« no previous file with comments | « extensions/browser/api/clipboard/clipboard_api.cc ('k') | extensions/browser/api/hid/hid_connection_resource.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698