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 7e342392ff51d7a591c5d3647019b6fc3d91b8da..09fd1f2881e9c6d9a1b3509b9396b20aeed10b15 100644 |
--- a/gpu/ipc/client/command_buffer_proxy_impl.cc |
+++ b/gpu/ipc/client/command_buffer_proxy_impl.cc |
@@ -515,8 +515,8 @@ int32_t CommandBufferProxyImpl::CreateImage(ClientBuffer buffer, |
DCHECK_EQ(image_fence_sync, flushed_fence_sync_release_ + 1); |
} |
- DCHECK(gpu::IsGpuMemoryBufferFormatSupported(gpu_memory_buffer->GetFormat(), |
- capabilities_)); |
+ DCHECK(gpu::IsImageFromGpuMemoryBufferFormatSupported( |
+ gpu_memory_buffer->GetFormat(), capabilities_)); |
DCHECK(gpu::IsImageSizeValidForGpuMemoryBufferFormat( |
gfx::Size(width, height), gpu_memory_buffer->GetFormat())); |
DCHECK(gpu::IsImageFormatCompatibleWithGpuMemoryBufferFormat( |