Index: gpu/ipc/client/command_buffer_proxy_impl.cc |
diff --git a/gpu/ipc/client/command_buffer_proxy_impl.cc b/gpu/ipc/client/command_buffer_proxy_impl.cc |
index 2ea77b34fdb4b7839481cb452077732abb2cfa5f..07c31ff9a951eb93f66c7133586559ffc5fe65a4 100644 |
--- a/gpu/ipc/client/command_buffer_proxy_impl.cc |
+++ b/gpu/ipc/client/command_buffer_proxy_impl.cc |
@@ -456,7 +456,7 @@ int32_t CommandBufferProxyImpl::CreateImage(ClientBuffer buffer, |
gpu::GpuMemoryBufferManager* gpu_memory_buffer_manager = |
channel_->gpu_memory_buffer_manager(); |
gfx::GpuMemoryBuffer* gpu_memory_buffer = |
- gpu_memory_buffer_manager->GpuMemoryBufferFromClientBuffer(buffer); |
+ reinterpret_cast<gfx::GpuMemoryBuffer*>(buffer); |
DCHECK(gpu_memory_buffer); |
// This handle is owned by the GPU process and must be passed to it or it |