| Index: content/renderer/render_thread_impl.cc
|
| diff --git a/content/renderer/render_thread_impl.cc b/content/renderer/render_thread_impl.cc
|
| index 92a6cd515bded43a2ff0e3dfdf953f0ddba134d5..2914c9c299c19593c58243728a37e93c3b2b9ea4 100644
|
| --- a/content/renderer/render_thread_impl.cc
|
| +++ b/content/renderer/render_thread_impl.cc
|
| @@ -70,6 +70,7 @@
|
| #include "content/public/common/content_constants.h"
|
| #include "content/public/common/content_paths.h"
|
| #include "content/public/common/content_switches.h"
|
| +#include "content/public/common/mojo_channel_switches.h"
|
| #include "content/public/common/renderer_preferences.h"
|
| #include "content/public/common/url_constants.h"
|
| #include "content/public/renderer/content_renderer_client.h"
|
| @@ -344,12 +345,6 @@ void CreateRenderFrameSetup(mojo::InterfaceRequest<RenderFrameSetup> request) {
|
| mojo::BindToRequest(new RenderFrameSetupImpl(), &request);
|
| }
|
|
|
| -bool ShouldUseMojoChannel() {
|
| - return base::CommandLine::ForCurrentProcess()->HasSwitch(
|
| - switches::kEnableRendererMojoChannel) ||
|
| - IPC::ChannelMojo::ShouldBeUsed();
|
| -}
|
| -
|
| blink::WebGraphicsContext3D::Attributes GetOffscreenAttribs() {
|
| blink::WebGraphicsContext3D::Attributes attributes;
|
| attributes.shareResources = true;
|
|
|