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

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

Issue 8491043: Allow linker initialization of lazy instance (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: willchan comments + rebase Created 9 years, 1 month 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 d6f983007c06cd9a8488591ef2406e3050056b50..de484b302cb3d0dcf8575582c0f45f6a241210cd 100644
--- a/content/browser/gpu/gpu_process_host_ui_shim.cc
+++ b/content/browser/gpu/gpu_process_host_ui_shim.cc
@@ -35,8 +35,8 @@ namespace {
#undef DestroyAll
#endif
-base::LazyInstance<IDMap<GpuProcessHostUIShim> > g_hosts_by_id(
- base::LINKER_INITIALIZED);
+base::LazyInstance<IDMap<GpuProcessHostUIShim> > g_hosts_by_id =
+ LAZY_INSTANCE_INITIALIZER;
class SendOnIOThreadTask : public Task {
public:
« no previous file with comments | « content/browser/gpu/gpu_process_host.cc ('k') | content/browser/in_process_webkit/indexed_db_key_utility_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698