Index: content/browser/aura/gpu_process_transport_factory.cc |
diff --git a/content/browser/aura/gpu_process_transport_factory.cc b/content/browser/aura/gpu_process_transport_factory.cc |
index 21091346e6ff5357674c098d60db40c64ef5062e..48d0da390ab9b9afd02456aa18f3b27e23cf7f7a 100644 |
--- a/content/browser/aura/gpu_process_transport_factory.cc |
+++ b/content/browser/aura/gpu_process_transport_factory.cc |
@@ -284,24 +284,14 @@ ui::ContextFactory* GpuProcessTransportFactory::AsContextFactory() { |
return this; |
} |
-gfx::GLSurfaceHandle GpuProcessTransportFactory::CreateSharedSurfaceHandle() { |
- scoped_refptr<cc::ContextProvider> provider = |
- SharedMainThreadContextProvider(); |
- if (!provider.get()) |
- return gfx::GLSurfaceHandle(); |
- typedef WebGraphicsContext3DCommandBufferImpl WGC3DCBI; |
- WGC3DCBI* context = static_cast<WGC3DCBI*>(provider->Context3d()); |
+gfx::GLSurfaceHandle GpuProcessTransportFactory::GetSharedSurfaceHandle() { |
gfx::GLSurfaceHandle handle = gfx::GLSurfaceHandle( |
gfx::kNullPluginWindow, gfx::TEXTURE_TRANSPORT); |
- handle.parent_gpu_process_id = context->GetGPUProcessID(); |
handle.parent_client_id = |
BrowserGpuChannelHostFactory::instance()->GetGpuChannelId(); |
return handle; |
} |
-void GpuProcessTransportFactory::DestroySharedSurfaceHandle( |
- gfx::GLSurfaceHandle surface) {} |
- |
scoped_refptr<ui::Texture> GpuProcessTransportFactory::CreateTransportClient( |
float device_scale_factor) { |
scoped_refptr<cc::ContextProvider> provider = |