Index: gpu/command_buffer/tests/gl_dynamic_config_unittest.cc |
diff --git a/gpu/command_buffer/tests/gl_dynamic_config_unittest.cc b/gpu/command_buffer/tests/gl_dynamic_config_unittest.cc |
index 4f661f988d99175d48929fd1607c9028fe08621c..a5d4d85a0918eca09a5f74712f145d1380528e5f 100644 |
--- a/gpu/command_buffer/tests/gl_dynamic_config_unittest.cc |
+++ b/gpu/command_buffer/tests/gl_dynamic_config_unittest.cc |
@@ -18,7 +18,11 @@ TEST_F(GLDynamicConfigTest, SwitchConfigurationInNonVirtualizedContextMode) { |
GLManager::SetEnableVirtualContext(false); |
GLManager::Options options; |
- options.surface_format = gl::GLSurface::SURFACE_RGB565; |
+ // TODO(klausw,jinsukkim): This modification is untested, |
+ // GLManager::Options does not currently have a surface_format |
+ // field. |
+ options.surface_format = gl::GLSurfaceFormat( |
+ gl::GLSurfaceFormat::SURFACE_RGB565); |
GLManager gl_rgb_565; |
gl_rgb_565.Initialize(options); |