Index: gpu/ipc/client/gpu_memory_buffer_impl_shared_memory.cc |
diff --git a/gpu/ipc/client/gpu_memory_buffer_impl_shared_memory.cc b/gpu/ipc/client/gpu_memory_buffer_impl_shared_memory.cc |
index 54423d51ceef266fe271be741f8bfa1725b01c56..d138b1d1e56b09cbefc27132b4d62ebd1be78964 100644 |
--- a/gpu/ipc/client/gpu_memory_buffer_impl_shared_memory.cc |
+++ b/gpu/ipc/client/gpu_memory_buffer_impl_shared_memory.cc |
@@ -129,6 +129,7 @@ bool GpuMemoryBufferImplSharedMemory::IsSizeValidForFormat( |
// by the block size. |
return size.width() % 4 == 0 && size.height() % 4 == 0; |
case gfx::BufferFormat::R_8: |
+ case gfx::BufferFormat::R_16: |
case gfx::BufferFormat::RG_88: |
case gfx::BufferFormat::BGR_565: |
case gfx::BufferFormat::RGBA_4444: |