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 bc7284ca81ba84268dcc23ef1d6d459d4dfee016..81a3787b618d3cbfa317ffaec7c4140204e77c03 100644 |
--- a/ui/gl/test/gl_image_test_support.cc |
+++ b/ui/gl/test/gl_image_test_support.cc |
@@ -46,6 +46,7 @@ void GLImageTestSupport::SetBufferDataToColor(int width, |
uint8_t* data) { |
switch (format) { |
case gfx::BufferFormat::R_8: |
+ case gfx::BufferFormat::RG_88: |
DCHECK_EQ(0, plane); |
for (int y = 0; y < height; ++y) { |
memset(&data[y * stride], color[0], width); |