| Index: content/common/gpu/client/gpu_channel_host.cc
|
| diff --git a/content/common/gpu/client/gpu_channel_host.cc b/content/common/gpu/client/gpu_channel_host.cc
|
| index dc1a3ce23a4af0c1583d8d9754829e4ab0970d7a..963b244e87ea0843041ca3ea0cfbe772a92434f9 100644
|
| --- a/content/common/gpu/client/gpu_channel_host.cc
|
| +++ b/content/common/gpu/client/gpu_channel_host.cc
|
| @@ -53,6 +53,9 @@ bool GpuChannelHost::IsValidGpuMemoryBuffer(
|
| #if defined(OS_ANDROID)
|
| case gfx::SURFACE_TEXTURE_BUFFER:
|
| #endif
|
| +#if defined(USE_X11)
|
| + case gfx::X11_PIXMAP_BUFFER:
|
| +#endif
|
| return true;
|
| default:
|
| return false;
|
| @@ -304,6 +307,10 @@ gfx::GpuMemoryBufferHandle GpuChannelHost::ShareGpuMemoryBufferToGpuProcess(
|
| case gfx::SURFACE_TEXTURE_BUFFER:
|
| return source_handle;
|
| #endif
|
| +#if defined(USE_X11)
|
| + case gfx::X11_PIXMAP_BUFFER:
|
| + return source_handle;
|
| +#endif
|
| default:
|
| NOTREACHED();
|
| return gfx::GpuMemoryBufferHandle();
|
|
|