Index: ui/gl/test/gl_image_test_support.cc |
diff --git a/ui/gl/test/gl_image_test_support.cc b/ui/gl/test/gl_image_test_support.cc |
index b77b2fd9d3863fd9553c0a50210d3647139f864a..36e26bd8e57d1ce8022ec330b070d11c60bc4fec 100644 |
--- a/ui/gl/test/gl_image_test_support.cc |
+++ b/ui/gl/test/gl_image_test_support.cc |
@@ -54,6 +54,7 @@ void GLImageTestSupport::SetBufferDataToColor(int width, |
uint8_t* data) { |
switch (format) { |
case gfx::BufferFormat::R_8: |
+ case gfx::BufferFormat::R_16: |
case gfx::BufferFormat::RG_88: |
DCHECK_EQ(0, plane); |
for (int y = 0; y < height; ++y) { |