| Index: gpu/command_buffer/tests/gl_unittests.cc
|
| diff --git a/gpu/command_buffer/tests/gl_unittests.cc b/gpu/command_buffer/tests/gl_unittests.cc
|
| index cecae39ee29863601d45c26bd6e68897d26eaa5d..b7cc7350bc45e94b2afeeafe30bc22eaea07e716 100644
|
| --- a/gpu/command_buffer/tests/gl_unittests.cc
|
| +++ b/gpu/command_buffer/tests/gl_unittests.cc
|
| @@ -40,7 +40,7 @@ TEST_F(GLTest, BasicFBO) {
|
| GLuint fbo = 0;
|
| glGenFramebuffers(1, &fbo);
|
| glBindTexture(GL_TEXTURE_2D, tex);
|
| - scoped_array<uint8> pixels(new uint8 [16*16*4]);
|
| + scoped_ptr<uint8[]> pixels(new uint8 [16*16*4]);
|
| memset(pixels.get(), 0, 16*16*4);
|
| glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, 16, 16, 0, GL_RGBA, GL_UNSIGNED_BYTE,
|
| pixels.get());
|
|
|