| Index: content/browser/compositor/gpu_process_transport_factory.cc
|
| diff --git a/content/browser/compositor/gpu_process_transport_factory.cc b/content/browser/compositor/gpu_process_transport_factory.cc
|
| index b74845fde4401ceebbcef7086f79d094f8ad50d3..7e2c513b98ee9302d10509f564f4869f85cc7422 100644
|
| --- a/content/browser/compositor/gpu_process_transport_factory.cc
|
| +++ b/content/browser/compositor/gpu_process_transport_factory.cc
|
| @@ -133,11 +133,16 @@ GpuProcessTransportFactory::~GpuProcessTransportFactory() {
|
|
|
| scoped_ptr<WebGraphicsContext3DCommandBufferImpl>
|
| GpuProcessTransportFactory::CreateOffscreenCommandBufferContext() {
|
| +#if defined(OS_ANDROID)
|
| + // TODO(mfomitchev): crbug.com/546716
|
| + return CreateContextCommon(scoped_refptr<GpuChannelHost>(nullptr), 0);
|
| +#else
|
| CauseForGpuLaunch cause =
|
| CAUSE_FOR_GPU_LAUNCH_WEBGRAPHICSCONTEXT3DCOMMANDBUFFERIMPL_INITIALIZE;
|
| scoped_refptr<GpuChannelHost> gpu_channel_host(
|
| BrowserGpuChannelHostFactory::instance()->EstablishGpuChannelSync(cause));
|
| return CreateContextCommon(gpu_channel_host, 0);
|
| +#endif // OS_ANDROID
|
| }
|
|
|
| scoped_ptr<cc::SoftwareOutputDevice>
|
|
|