| Index: components/nacl/renderer/ppb_nacl_private_impl.cc
|
| diff --git a/components/nacl/renderer/ppb_nacl_private_impl.cc b/components/nacl/renderer/ppb_nacl_private_impl.cc
|
| index 5a1dcdbbf81945f25fc38492d92bfa3e436b804d..7cbb9c6d0f6c6562b628b3a26cc93d9b16c28361 100644
|
| --- a/components/nacl/renderer/ppb_nacl_private_impl.cc
|
| +++ b/components/nacl/renderer/ppb_nacl_private_impl.cc
|
| @@ -84,8 +84,8 @@ const char* const kPortableArch = "portable";
|
| // The base URL for resources used by the PNaCl translator processes.
|
| const char* kPNaClTranslatorBaseUrl = "chrome://pnacl-translator/";
|
|
|
| -base::LazyInstance<scoped_refptr<PnaclTranslationResourceHost> >
|
| - g_pnacl_resource_host = LAZY_INSTANCE_INITIALIZER;
|
| +base::LazyInstance<scoped_refptr<PnaclTranslationResourceHost>>::
|
| + DestructorAtExit g_pnacl_resource_host = LAZY_INSTANCE_INITIALIZER;
|
|
|
| bool InitializePnaclResourceHost() {
|
| // Must run on the main thread.
|
| @@ -150,7 +150,8 @@ class NaClPluginInstance {
|
|
|
| typedef std::unordered_map<PP_Instance, std::unique_ptr<NaClPluginInstance>>
|
| InstanceMap;
|
| -base::LazyInstance<InstanceMap> g_instance_map = LAZY_INSTANCE_INITIALIZER;
|
| +base::LazyInstance<InstanceMap>::DestructorAtExit g_instance_map =
|
| + LAZY_INSTANCE_INITIALIZER;
|
|
|
| NaClPluginInstance* GetNaClPluginInstance(PP_Instance instance) {
|
| InstanceMap& map = g_instance_map.Get();
|
|
|