Index: gpu/command_buffer/tests/gl_readback_unittest.cc |
diff --git a/gpu/command_buffer/tests/gl_readback_unittest.cc b/gpu/command_buffer/tests/gl_readback_unittest.cc |
index eaaa1bb59af559e30d8db5c745490333a3f255d1..5730ccdf75cbd6368371e2cce00c3f653d9c7b82 100644 |
--- a/gpu/command_buffer/tests/gl_readback_unittest.cc |
+++ b/gpu/command_buffer/tests/gl_readback_unittest.cc |
@@ -274,7 +274,7 @@ TEST_F(GLReadbackTest, ReadPixelsFloat) { |
switch (read_type) { |
case GL_HALF_FLOAT_OES: { |
- scoped_ptr<GLushort[]> buf( |
+ std::unique_ptr<GLushort[]> buf( |
new GLushort[kTextureSize * kTextureSize * read_comp_count]); |
glReadPixels( |
0, 0, kTextureSize, kTextureSize, read_format, read_type, |
@@ -291,7 +291,7 @@ TEST_F(GLReadbackTest, ReadPixelsFloat) { |
break; |
} |
case GL_FLOAT: { |
- scoped_ptr<GLfloat[]> buf( |
+ std::unique_ptr<GLfloat[]> buf( |
new GLfloat[kTextureSize * kTextureSize * read_comp_count]); |
glReadPixels( |
0, 0, kTextureSize, kTextureSize, read_format, read_type, |