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 44af080991f80e15921c36f8a64b94ae23d69183..5bc480b111b367fa89dca2c3c7c0091e8c24a5ec 100644 |
--- a/components/nacl/renderer/ppb_nacl_private_impl.cc |
+++ b/components/nacl/renderer/ppb_nacl_private_impl.cc |
@@ -80,10 +80,10 @@ bool InitializePnaclResourceHost() { |
content::RenderThread* render_thread = content::RenderThread::Get(); |
if (!render_thread) |
return false; |
- if (!g_pnacl_resource_host.Get()) { |
+ if (!g_pnacl_resource_host.Get().get()) { |
g_pnacl_resource_host.Get() = new PnaclTranslationResourceHost( |
render_thread->GetIOMessageLoopProxy()); |
- render_thread->AddFilter(g_pnacl_resource_host.Get()); |
+ render_thread->AddFilter(g_pnacl_resource_host.Get().get()); |
} |
return true; |
} |
@@ -662,7 +662,7 @@ void ReportTranslationFinished(PP_Instance instance, |
// If the resource host isn't initialized, don't try to do that here. |
// Just return because something is already very wrong. |
- if (g_pnacl_resource_host.Get() == NULL) |
+ if (g_pnacl_resource_host.Get().get() == NULL) |
return; |
g_pnacl_resource_host.Get()->ReportTranslationFinished(instance, success); |
} |