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 9c288090d761fb6dc05998312ac6d9e4622f5aaa..67c4eef1dcb1913ca78a7af305e72e0662c04f3a 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( |