Index: gpu/command_buffer/service/gles2_cmd_decoder_autogen.h |
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder_autogen.h b/gpu/command_buffer/service/gles2_cmd_decoder_autogen.h |
index 54b8dcf574c95af40d89f62245b26600d60eec6a..601f5d8a5dfed95ee1ad7436487ab044d0b29b6a 100644 |
--- a/gpu/command_buffer/service/gles2_cmd_decoder_autogen.h |
+++ b/gpu/command_buffer/service/gles2_cmd_decoder_autogen.h |
@@ -1310,7 +1310,7 @@ error::Error GLES2DecoderImpl::HandleGenTransformFeedbacksImmediate( |
return error::kInvalidArguments; |
} |
} |
- scoped_ptr<GLuint[]> service_ids(new GLuint[n]); |
+ std::unique_ptr<GLuint[]> service_ids(new GLuint[n]); |
glGenTransformFeedbacks(n, service_ids.get()); |
for (GLsizei ii = 0; ii < n; ++ii) { |
group_->AddTransformFeedbackId(ids[ii], service_ids[ii]); |