| Index: gpu/command_buffer/tests/gl_test_utils.cc
|
| diff --git a/gpu/command_buffer/tests/gl_test_utils.cc b/gpu/command_buffer/tests/gl_test_utils.cc
|
| index a666fffffca7d61a7102ef5c51f4b449a0e4b6b7..437ffba3f231dd174209ae5eb40441a6376db590 100644
|
| --- a/gpu/command_buffer/tests/gl_test_utils.cc
|
| +++ b/gpu/command_buffer/tests/gl_test_utils.cc
|
| @@ -105,7 +105,7 @@ GLuint GLTestHelper::SetupUnitQuad(GLint position_location) {
|
|
|
| bool GLTestHelper::CheckPixels(
|
| GLint x, GLint y, GLsizei width, GLsizei height, GLint tolerance,
|
| - uint8* color) {
|
| + const uint8* color) {
|
| GLsizei size = width * height * 4;
|
| scoped_array<uint8> pixels(new uint8[size]);
|
| memset(pixels.get(), 123, size);
|
|
|