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

Unified Diff: content/browser/gpu/gpu_process_host_ui_shim.cc

Issue 2733283002: Require explicit selection of traits for LazyInstance (Closed)
Patch Set: 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: content/browser/gpu/gpu_process_host_ui_shim.cc
diff --git a/content/browser/gpu/gpu_process_host_ui_shim.cc b/content/browser/gpu/gpu_process_host_ui_shim.cc
index a6621066ba704359794cd7071b82cbb8b4dec8b4..ceab9a2d57ab400bc90acbb83fbfd3fb88c58ad4 100644
--- a/content/browser/gpu/gpu_process_host_ui_shim.cc
+++ b/content/browser/gpu/gpu_process_host_ui_shim.cc
@@ -40,8 +40,8 @@ namespace {
#undef DestroyAll
#endif
-base::LazyInstance<IDMap<GpuProcessHostUIShim*>> g_hosts_by_id =
- LAZY_INSTANCE_INITIALIZER;
+base::LazyInstance<IDMap<GpuProcessHostUIShim*>>::DestructorAtExit
+ g_hosts_by_id = LAZY_INSTANCE_INITIALIZER;
void StopGpuProcessOnIO(int host_id) {
GpuProcessHost* host = GpuProcessHost::FromID(host_id);

Powered by Google App Engine
This is Rietveld 408576698