| Index: content/browser/browser_child_process_host_impl.cc
|
| diff --git a/content/browser/browser_child_process_host_impl.cc b/content/browser/browser_child_process_host_impl.cc
|
| index fee0a1fdb957a3b2c687e6415811f8d031e23dc1..5380cd77784aaaa2ba7467c4b47aacfdb4df89eb 100644
|
| --- a/content/browser/browser_child_process_host_impl.cc
|
| +++ b/content/browser/browser_child_process_host_impl.cc
|
| @@ -35,7 +35,7 @@
|
| #include "content/public/common/result_codes.h"
|
| #include "ipc/attachment_broker.h"
|
| #include "ipc/attachment_broker_privileged.h"
|
| -#include "third_party/mojo/src/mojo/edk/embedder/embedder.h"
|
| +#include "mojo/edk/embedder/embedder.h"
|
|
|
| #if defined(OS_MACOSX)
|
| #include "content/browser/mach_broker_mac.h"
|
| @@ -195,7 +195,6 @@ void BrowserChildProcessHostImpl::Launch(
|
| switches::kTraceToConsole,
|
| switches::kV,
|
| switches::kVModule,
|
| - "use-new-edk", // TODO(use_chrome_edk): temporary.
|
| };
|
| cmd_line->CopySwitchesFrom(browser_command_line, kForwardSwitches,
|
| arraysize(kForwardSwitches));
|
| @@ -414,18 +413,10 @@ void BrowserChildProcessHostImpl::OnProcessLaunched() {
|
| const base::Process& process = child_process_->GetProcess();
|
| DCHECK(process.IsValid());
|
|
|
| - if (base::CommandLine::ForCurrentProcess()->HasSwitch("use-new-edk")) {
|
| - mojo::embedder::ScopedPlatformHandle client_pipe =
|
| - mojo::embedder::ChildProcessLaunched(process.Handle());
|
| - Send(new ChildProcessMsg_SetMojoParentPipeHandle(
|
| - IPC::GetFileHandleForProcess(
|
| -#if defined(OS_WIN)
|
| - client_pipe.release().handle,
|
| -#else
|
| - client_pipe.release().fd,
|
| -#endif
|
| - process.Handle(), true)));
|
| - }
|
| + mojo::edk::ScopedPlatformHandle client_pipe =
|
| + mojo::edk::ChildProcessLaunched(process.Handle());
|
| + Send(new ChildProcessMsg_SetMojoParentPipeHandle(IPC::GetFileHandleForProcess(
|
| + client_pipe.release().handle, process.Handle(), true)));
|
|
|
| #if defined(OS_WIN)
|
| // Start a WaitableEventWatcher that will invoke OnProcessExitedEarly if the
|
|
|