| Index: content/child/child_thread_impl.cc
|
| diff --git a/content/child/child_thread_impl.cc b/content/child/child_thread_impl.cc
|
| index b24a1450b0f14b564392342e2526042c5c731db6..d075663f99882d700079e604bf1ffe9cabda3180 100644
|
| --- a/content/child/child_thread_impl.cc
|
| +++ b/content/child/child_thread_impl.cc
|
| @@ -66,7 +66,6 @@
|
| #include "ipc/mojo/ipc_channel_mojo.h"
|
| #include "ipc/mojo/scoped_ipc_support.h"
|
| #include "mojo/edk/embedder/embedder.h"
|
| -#include "mojo/edk/embedder/named_platform_channel_pair.h"
|
| #include "mojo/edk/embedder/platform_channel_pair.h"
|
|
|
| #if defined(OS_POSIX)
|
| @@ -229,18 +228,9 @@
|
| void InitializeMojoIPCChannel() {
|
| mojo::edk::ScopedPlatformHandle platform_channel;
|
| #if defined(OS_WIN)
|
| - if (base::CommandLine::ForCurrentProcess()->HasSwitch(
|
| - mojo::edk::PlatformChannelPair::kMojoPlatformChannelHandleSwitch)) {
|
| - platform_channel =
|
| - mojo::edk::PlatformChannelPair::PassClientHandleFromParentProcess(
|
| - *base::CommandLine::ForCurrentProcess());
|
| - } else {
|
| - // If this process is elevated, it will have a pipe path passed on the
|
| - // command line.
|
| - platform_channel =
|
| - mojo::edk::NamedPlatformChannelPair::PassClientHandleFromParentProcess(
|
| - *base::CommandLine::ForCurrentProcess());
|
| - }
|
| + platform_channel =
|
| + mojo::edk::PlatformChannelPair::PassClientHandleFromParentProcess(
|
| + *base::CommandLine::ForCurrentProcess());
|
| #elif defined(OS_POSIX)
|
| platform_channel.reset(mojo::edk::PlatformHandle(
|
| base::GlobalDescriptors::GetInstance()->Get(kMojoIPCChannel)));
|
|
|