Chromium Code Reviews

Unified Diff: extensions/shell/browser/api/identity/identity_api.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.
Jump to:
View side-by-side diff with in-line comments
Index: extensions/shell/browser/api/identity/identity_api.cc
diff --git a/extensions/shell/browser/api/identity/identity_api.cc b/extensions/shell/browser/api/identity/identity_api.cc
index c1eccfd027c81699797fd30ea2f18227abdd8443..a2b25b3a3f989563734b2b42d884e5edfe9fc4df 100644
--- a/extensions/shell/browser/api/identity/identity_api.cc
+++ b/extensions/shell/browser/api/identity/identity_api.cc
@@ -42,8 +42,9 @@ IdentityAPI* IdentityAPI::Get(content::BrowserContext* context) {
// static
BrowserContextKeyedAPIFactory<IdentityAPI>* IdentityAPI::GetFactoryInstance() {
- static base::LazyInstance<BrowserContextKeyedAPIFactory<IdentityAPI>>
- factory = LAZY_INSTANCE_INITIALIZER;
+ static base::LazyInstance<
+ BrowserContextKeyedAPIFactory<IdentityAPI>>::DestructorAtExit factory =
+ LAZY_INSTANCE_INITIALIZER;
return factory.Pointer();
}
« no previous file with comments | « extensions/renderer/worker_thread_dispatcher.cc ('k') | extensions/shell/browser/shell_extension_host_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine