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 fd19c918113dadce7e85e8d843e0c56b05ad8e1b..eccd9dcc93a303db60148a13fafb4e9e6db01389 100644 |
--- a/content/browser/compositor/gpu_process_transport_factory.cc |
+++ b/content/browser/compositor/gpu_process_transport_factory.cc |
@@ -122,15 +122,11 @@ GpuProcessTransportFactory::~GpuProcessTransportFactory() { |
scoped_ptr<WebGraphicsContext3DCommandBufferImpl> |
GpuProcessTransportFactory::CreateOffscreenCommandBufferContext() { |
-#if defined(OS_ANDROID) |
- 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> |