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 05ee4d8cd25d9fc573f7ec8aaac44cd4f3f0f76c..6cbe5bb599b4c5dd9fe7f63fbd6ed5e4c50429c5 100644 |
--- a/content/common/gpu/client/gpu_channel_host.cc |
+++ b/content/common/gpu/client/gpu_channel_host.cc |
@@ -266,9 +266,10 @@ int32 GpuChannelHost::ReserveTransferBufferId() { |
gfx::GpuMemoryBufferHandle GpuChannelHost::ShareGpuMemoryBufferToGpuProcess( |
gfx::GpuMemoryBufferHandle source_handle) { |
switch (source_handle.type) { |
+ case gfx::FOOBAR_BUFFER: |
case gfx::SHARED_MEMORY_BUFFER: { |
gfx::GpuMemoryBufferHandle handle; |
- handle.type = gfx::SHARED_MEMORY_BUFFER; |
+ handle.type = source_handle.type; |
handle.handle = ShareToGpuProcess(source_handle.handle); |
return handle; |
} |