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

Unified Diff: gpu/command_buffer/client/vertex_array_object_manager_unittest.cc

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
« no previous file with comments | « gpu/command_buffer/client/vertex_array_object_manager.h ('k') | gpu/command_buffer/common/buffer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/client/vertex_array_object_manager_unittest.cc
diff --git a/gpu/command_buffer/client/vertex_array_object_manager_unittest.cc b/gpu/command_buffer/client/vertex_array_object_manager_unittest.cc
index b39aab87f381d7f32fec4a6a116bb794467302f8..77b6b4cf395eef5c04407db5e019d480e1f86fbf 100644
--- a/gpu/command_buffer/client/vertex_array_object_manager_unittest.cc
+++ b/gpu/command_buffer/client/vertex_array_object_manager_unittest.cc
@@ -6,8 +6,12 @@
#include <GLES2/gl2ext.h>
#include <GLES3/gl3.h>
+
#include <stddef.h>
#include <stdint.h>
+
+#include <memory>
+
#include "testing/gtest/include/gtest/gtest.h"
namespace gpu {
@@ -29,7 +33,7 @@ class VertexArrayObjectManagerTest : public testing::Test {
}
void TearDown() override {}
- scoped_ptr<VertexArrayObjectManager> manager_;
+ std::unique_ptr<VertexArrayObjectManager> manager_;
};
// GCC requires these declarations, but MSVC requires they not be present
« no previous file with comments | « gpu/command_buffer/client/vertex_array_object_manager.h ('k') | gpu/command_buffer/common/buffer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698