| 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 b7ed84406a3a9d635384ddda1e3765b703764d6b..79b294d30847fd83bed065951e1cecb230cdd07b 100644
|
| --- a/content/browser/compositor/gpu_process_transport_factory.cc
|
| +++ b/content/browser/compositor/gpu_process_transport_factory.cc
|
| @@ -132,11 +132,16 @@ GpuProcessTransportFactory::~GpuProcessTransportFactory() {
|
|
|
| scoped_ptr<WebGraphicsContext3DCommandBufferImpl>
|
| GpuProcessTransportFactory::CreateOffscreenCommandBufferContext() {
|
| +#if defined(USE_AURA)
|
| + // TODO(mfomitchev): hack
|
| + 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 // USE_AURA
|
| }
|
|
|
| scoped_ptr<cc::SoftwareOutputDevice>
|
|
|