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

Unified Diff: extensions/browser/api/system_cpu/cpu_info_provider.h

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/system_cpu/cpu_info_provider.h
diff --git a/extensions/browser/api/system_cpu/cpu_info_provider.h b/extensions/browser/api/system_cpu/cpu_info_provider.h
index 617d26e7694e62b20a47a06aebaed8eaa7c4e527..26e35d8da8ce1d5d516b877fdf59899d0048573a 100644
--- a/extensions/browser/api/system_cpu/cpu_info_provider.h
+++ b/extensions/browser/api/system_cpu/cpu_info_provider.h
@@ -50,7 +50,8 @@ class CpuInfoProvider : public SystemInfoProvider {
// is true.
api::system_cpu::CpuInfo info_;
- static base::LazyInstance<scoped_refptr<CpuInfoProvider> > provider_;
+ static base::LazyInstance<scoped_refptr<CpuInfoProvider>>::DestructorAtExit
+ provider_;
base::CPU cpu_;
DISALLOW_COPY_AND_ASSIGN(CpuInfoProvider);
« no previous file with comments | « extensions/browser/api/storage/storage_frontend.cc ('k') | extensions/browser/api/system_cpu/cpu_info_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698