| Index: gpu/command_buffer/service/buffer_manager.cc
|
| diff --git a/gpu/command_buffer/service/buffer_manager.cc b/gpu/command_buffer/service/buffer_manager.cc
|
| index 76ddbb2fd56b96c5566e537ad1804135f59dccf7..65dd2af31d1a3aee9313ef4db4a7da5136c0f6f8 100644
|
| --- a/gpu/command_buffer/service/buffer_manager.cc
|
| +++ b/gpu/command_buffer/service/buffer_manager.cc
|
| @@ -259,7 +259,7 @@ void BufferManager::DoBufferData(
|
| GLenum usage,
|
| const GLvoid* data) {
|
| // Clear the buffer to 0 if no initial data was passed in.
|
| - scoped_array<int8> zero;
|
| + scoped_ptr<int8[]> zero;
|
| if (!data) {
|
| zero.reset(new int8[size]);
|
| memset(zero.get(), 0, size);
|
|
|