| Index: gpu/command_buffer/tests/gl_consistent_uniform_locations_unittest.cc
|
| diff --git a/gpu/command_buffer/tests/gl_consistent_uniform_locations_unittest.cc b/gpu/command_buffer/tests/gl_consistent_uniform_locations_unittest.cc
|
| index b8313682467389d0fb6bb44a13bc02068860ac34..e5f7dc303106e051e596c68145f87a0f2266ae1a 100644
|
| --- a/gpu/command_buffer/tests/gl_consistent_uniform_locations_unittest.cc
|
| +++ b/gpu/command_buffer/tests/gl_consistent_uniform_locations_unittest.cc
|
| @@ -65,18 +65,18 @@ TEST_F(ConsistenUniformLocationsTest, Basic) {
|
| { GL_FLOAT_VEC4, 1, "u_colorA", },
|
| };
|
|
|
| + GLuint program = GLTestHelper::LoadProgram(v_shader_str, f_shader_str);
|
| +
|
| GLint locations[4];
|
|
|
| glGetUniformLocationsCHROMIUM(
|
| - defs, arraysize(defs), arraysize(locations), locations);
|
| + program, defs, arraysize(defs), arraysize(locations), locations);
|
|
|
| GLint u_colorCLocation = locations[0];
|
| GLint u_colorB0Location = locations[1];
|
| GLint u_colorB1Location = locations[2];
|
| GLint u_colorALocation = locations[3];
|
|
|
| - GLuint program = GLTestHelper::LoadProgram(v_shader_str, f_shader_str);
|
| -
|
| GLint position_loc = glGetAttribLocation(program, "a_position");
|
|
|
| GLTestHelper::SetupUnitQuad(position_loc);
|
|
|