| Index: ui/gl/gl_image_linux_dma_buffer.cc
|
| diff --git a/ui/gl/gl_image_linux_dma_buffer.cc b/ui/gl/gl_image_linux_dma_buffer.cc
|
| index 04ad06bd438433b270c60b804509a088d08e0a44..c61185f0fe3ed2e4b2f012138b48bbf876147df9 100644
|
| --- a/ui/gl/gl_image_linux_dma_buffer.cc
|
| +++ b/ui/gl/gl_image_linux_dma_buffer.cc
|
| @@ -58,6 +58,8 @@ bool ValidFormat(unsigned internalformat, gfx::GpuMemoryBuffer::Format format) {
|
| }
|
| NOTREACHED();
|
| return false;
|
| + case GL_BGRA_EXT:
|
| + return format == gfx::GpuMemoryBuffer::BGRA_8888;
|
| default:
|
| return false;
|
| }
|
|
|