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

Unified Diff: chrome/browser/extensions/api/log_private/log_private_api_chromeos.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: chrome/browser/extensions/api/log_private/log_private_api_chromeos.cc
diff --git a/chrome/browser/extensions/api/log_private/log_private_api_chromeos.cc b/chrome/browser/extensions/api/log_private/log_private_api_chromeos.cc
index 7ede50fea12714dbc6b92535462dc2d13026e9ba..1a12db9901ff136022bc6821ea0a5732cd905b0a 100644
--- a/chrome/browser/extensions/api/log_private/log_private_api_chromeos.cc
+++ b/chrome/browser/extensions/api/log_private/log_private_api_chromeos.cc
@@ -206,8 +206,9 @@ void LogPrivateAPI::RegisterTempFile(const std::string& owner_extension_id,
base::Unretained(this), owner_extension_id, file_path));
}
-static base::LazyInstance<BrowserContextKeyedAPIFactory<LogPrivateAPI> >
- g_factory = LAZY_INSTANCE_INITIALIZER;
+static base::LazyInstance<
+ BrowserContextKeyedAPIFactory<LogPrivateAPI>>::DestructorAtExit g_factory =
+ LAZY_INSTANCE_INITIALIZER;
// static
BrowserContextKeyedAPIFactory<LogPrivateAPI>*
« no previous file with comments | « chrome/browser/extensions/api/launcher_page/launcher_page_api.cc ('k') | chrome/browser/extensions/api/mdns/mdns_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698