Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(426)

Unified Diff: gpu/command_buffer/client/vertex_array_object_manager.h

Issue 1859703002: convert //gpu to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: gpu/command_buffer/client/vertex_array_object_manager.h
diff --git a/gpu/command_buffer/client/vertex_array_object_manager.h b/gpu/command_buffer/client/vertex_array_object_manager.h
index 6897c9290c5ac82a607daf985a79128aa33c9ca3..42ec269ea51224f88cef0537c36791ca73e0c457 100644
--- a/gpu/command_buffer/client/vertex_array_object_manager.h
+++ b/gpu/command_buffer/client/vertex_array_object_manager.h
@@ -8,9 +8,10 @@
#include <GLES2/gl2.h>
#include <stdint.h>
+#include <memory>
+
#include "base/containers/hash_tables.h"
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "gles2_impl_export.h"
namespace gpu {
@@ -113,7 +114,7 @@ class GLES2_IMPL_EXPORT VertexArrayObjectManager {
GLuint element_array_buffer_id_;
GLsizei element_array_buffer_size_;
GLsizei collection_buffer_size_;
- scoped_ptr<int8_t[]> collection_buffer_;
+ std::unique_ptr<int8_t[]> collection_buffer_;
VertexArrayObject* default_vertex_array_object_;
VertexArrayObject* bound_vertex_array_object_;

Powered by Google App Engine
This is Rietveld 408576698