Index: components/nacl/browser/nacl_process_host.cc |
diff --git a/components/nacl/browser/nacl_process_host.cc b/components/nacl/browser/nacl_process_host.cc |
index 35c061596fa4837b8f35e1bcf7c56771f516dff5..0c5d3156a2bae8f58cceac4525492a398335811e 100644 |
--- a/components/nacl/browser/nacl_process_host.cc |
+++ b/components/nacl/browser/nacl_process_host.cc |
@@ -719,20 +719,6 @@ void NaClProcessHost::ReplyToRenderer( |
ScopedChannelHandle ppapi_channel_handle, |
ScopedChannelHandle trusted_channel_handle, |
ScopedChannelHandle manifest_service_channel_handle) { |
-#if defined(OS_WIN) |
- // If we are on 64-bit Windows, the NaCl process's sandbox is |
- // managed by a different process from the renderer's sandbox. We |
- // need to inform the renderer's sandbox about the NaCl process so |
- // that the renderer can send handles to the NaCl process using |
- // BrokerDuplicateHandle(). |
- if (RunningOnWOW64()) { |
- if (!content::BrokerAddTargetPeer(process_->GetData().handle)) { |
- SendErrorToRenderer("BrokerAddTargetPeer() failed"); |
- return; |
- } |
- } |
-#endif |
- |
// Hereafter, we always send an IPC message with handles created above |
// which, on Windows, are not closable in this process. |
std::string error_message; |