| Index: components/view_manager/gles2/command_buffer_driver.cc
|
| diff --git a/components/view_manager/gles2/command_buffer_driver.cc b/components/view_manager/gles2/command_buffer_driver.cc
|
| index 8e86a86cbc237d6d438c12a6e7bacf53c49d02b2..dd7e558098a046c21e6d922cd20bfca6bfa0d339 100644
|
| --- a/components/view_manager/gles2/command_buffer_driver.cc
|
| +++ b/components/view_manager/gles2/command_buffer_driver.cc
|
| @@ -248,8 +248,7 @@ void CommandBufferDriver::CreateImage(int32_t id,
|
| return;
|
| }
|
|
|
| - gfx::GpuMemoryBuffer::Format gpu_format =
|
| - static_cast<gfx::GpuMemoryBuffer::Format>(format);
|
| + gfx::BufferFormat gpu_format = static_cast<gfx::BufferFormat>(format);
|
| if (!gpu::ImageFactory::IsGpuMemoryBufferFormatSupported(
|
| gpu_format, decoder_->GetCapabilities())) {
|
| LOG(ERROR) << "Format is not supported.";
|
|
|